From 54d6e54dc89f94229fdd7bb7949feba83f41c2b8 Mon Sep 17 00:00:00 2001 From: Sven Meyer Date: Tue, 10 Dec 2024 20:54:44 +0100 Subject: [PATCH] Update performance_pre.yml --- .github/workflows/performance_pre.yml | 59 ++++++++++++++------------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/.github/workflows/performance_pre.yml b/.github/workflows/performance_pre.yml index a6a76e6f1..899598e78 100644 --- a/.github/workflows/performance_pre.yml +++ b/.github/workflows/performance_pre.yml @@ -22,39 +22,40 @@ env: jobs: performance-pre: - steps: - - name: Checkout source code - uses: actions/checkout@v4 - with: - fetch-depth: 0 + runs-on: ubuntu-latest + steps: + - name: Checkout source code + uses: actions/checkout@v4 + with: + fetch-depth: 0 - - name: Build and test Android Scanner - uses: ./.github/actions/scanner-android - with: - java-version: ${{ env.JAVA_VERSION }} + - name: Build and test Android Scanner + uses: ./.github/actions/scanner-android + with: + java-version: ${{ env.JAVA_VERSION }} - - name: Extract performance - uses: ./.github/actions/performance_pre - with: - test-results-path: HeadlessAndroidScanner/shippable/testresults - source-branch: gh-pages - current-results: android_history.txt - output-file: gh-pages-output/android_history.txt + - name: Extract performance + uses: ./.github/actions/performance_pre + with: + test-results-path: HeadlessAndroidScanner/shippable/testresults + source-branch: gh-pages + current-results: android_history.txt + output-file: gh-pages-output/android_history.txt - - name: Generate HTML report - run: | - echo "

Aggregated Test Results

" >> gh-pages-output/index.html + - name: Generate HTML report + run: | + echo "

Aggregated Test Results

" >> gh-pages-output/index.html - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v4 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./gh-pages-output + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./gh-pages-output performance-pre-2: if: false