Skip to content

Commit ceba0f4

Browse files
committed
Update performance_pre.yml
1 parent 4cf03d1 commit ceba0f4

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.github/workflows/performance_pre.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,38 +23,38 @@ env:
2323
jobs:
2424
performance-pre:
2525
steps:
26-
- name: Checkout source code
27-
uses: actions/checkout@v4
28-
with:
29-
fetch-depth: 0
26+
- name: Checkout source code
27+
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
3030

31-
- name: Build and test Android Scanner
32-
uses: ./.github/actions/scanner-android
33-
with:
34-
java-version: ${{ env.JAVA_VERSION }}
31+
- name: Build and test Android Scanner
32+
uses: ./.github/actions/scanner-android
33+
with:
34+
java-version: ${{ env.JAVA_VERSION }}
3535

36-
- name: Extract performance
37-
uses: ./.github/actions/performance_pre
38-
with:
39-
test-results-path: HeadlessAndroidScanner/shippable/testresults
40-
source-branch: gh-pages
41-
current-results: android_history.txt
42-
output-file: gh-pages-output/android_history.txt
36+
- name: Extract performance
37+
uses: ./.github/actions/performance_pre
38+
with:
39+
test-results-path: HeadlessAndroidScanner/shippable/testresults
40+
source-branch: gh-pages
41+
current-results: android_history.txt
42+
output-file: gh-pages-output/android_history.txt
4343

44-
- name: Generate HTML report
45-
run: |
46-
echo "<html><body><h1>Aggregated Test Results</h1><ul>" > gh-pages-output/index.html
47-
cat gh-pages-output/android_history.txt | while read line; do
48-
echo "${line}"
49-
echo "<li>${line}</li>" >> gh-pages-output/index.html
50-
done
51-
echo "</ul></body></html>" >> gh-pages-output/index.html
44+
- name: Generate HTML report
45+
run: |
46+
echo "<html><body><h1>Aggregated Test Results</h1><ul>" > gh-pages-output/index.html
47+
cat gh-pages-output/android_history.txt | while read line; do
48+
echo "${line}"
49+
echo "<li>${line}</li>" >> gh-pages-output/index.html
50+
done
51+
echo "</ul></body></html>" >> gh-pages-output/index.html
5252
53-
- name: Deploy to GitHub Pages
54-
uses: peaceiris/actions-gh-pages@v4
55-
with:
56-
github_token: ${{ secrets.GITHUB_TOKEN }}
57-
publish_dir: ./gh-pages-output
53+
- name: Deploy to GitHub Pages
54+
uses: peaceiris/actions-gh-pages@v4
55+
with:
56+
github_token: ${{ secrets.GITHUB_TOKEN }}
57+
publish_dir: ./gh-pages-output
5858

5959
performance-pre-2:
6060
if: false

0 commit comments

Comments
 (0)