summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2025-02-13 10:50:16 +0100
committerMarkus Pettersson <markus.pettersson@mullvad.net>2025-02-25 12:07:10 +0100
commit3a4cfe24bea608cc5c1be33dfa5692d47dafe9df (patch)
tree6568feee57060d98fa6091baf8d9e37332381c23 /.github/workflows
parent1e7059a49a5ae81b8e171fb5a87fc6041ed5478c (diff)
downloadmullvadvpn-3a4cfe24bea608cc5c1be33dfa5692d47dafe9df.tar.xz
mullvadvpn-3a4cfe24bea608cc5c1be33dfa5692d47dafe9df.zip
Do not compile `test-manager` when compiling the test report
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/desktop-e2e.yml41
1 files changed, 27 insertions, 14 deletions
diff --git a/.github/workflows/desktop-e2e.yml b/.github/workflows/desktop-e2e.yml
index 0a530abefc..caebe615f9 100644
--- a/.github/workflows/desktop-e2e.yml
+++ b/.github/workflows/desktop-e2e.yml
@@ -457,25 +457,38 @@ jobs:
name: Result matrix
needs: [e2e-test-linux, e2e-test-windows, e2e-test-macos]
if: '!cancelled()'
- runs-on: [self-hosted, desktop-test, Linux]
- timeout-minutes: 240
- strategy:
- fail-fast: false
+ runs-on: ubuntu-latest
+ container:
+ image: ${{ needs.prepare-linux.outputs.container_image }}
steps:
- - name: Checkout repository
- uses: actions/checkout@v4
- - uses: actions/download-artifact@v4
+ - name: Download test report
+ uses: actions/download-artifact@v4
with:
- path: ./test/.ci-logs/artifacts
+ pattern: '*_report'
+ merge-multiple: true
+ - name: Create binaries directory
+ shell: bash -ieo pipefail {0}
+ run: |
+ mkdir "${{ github.workspace }}/bin"
+ - name: Download report compiler
+ uses: actions/download-artifact@v4
+ with:
+ name: linux-test-manager-build
+ path: ${{ github.workspace }}/bin
+ - name: chmod binaries
+ run: |
+ chmod +x ${{ github.workspace }}/bin/*
+ - name: Check binaries
+ run: |
+ ls -la ${{ github.workspace }}/bin
+ shell: bash
- name: Generate test result matrix
shell: bash -ieo pipefail {0}
run: |
- cd test
- # "Unpack" the downloaded report artifacts: https://github.com/actions/download-artifact/issues/141
- cp ./.ci-logs/artifacts/*_report/*_report ./.ci-logs/
- cargo run --bin test-manager format-test-reports ./.ci-logs/*_report \
- | tee summary.html >> $GITHUB_STEP_SUMMARY
+ ${{ github.workspace }}/bin/test-manager \
+ format-test-reports ${{ github.workspace }}/*_report \
+ | tee summary.html >> $GITHUB_STEP_SUMMARY
- uses: actions/upload-artifact@v4
with:
name: summary.html
- path: test/summary.html
+ path: summary.html