|
23 | 23 | jobs: |
24 | 24 | performance-pre: |
25 | 25 | 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 |
30 | 30 |
|
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 }} |
35 | 35 |
|
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 |
43 | 43 |
|
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 |
52 | 52 | |
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 |
58 | 58 |
|
59 | 59 | performance-pre-2: |
60 | 60 | if: false |
|
0 commit comments