Desktop - End-to-end tests #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Desktop - End-to-end tests | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
e2e-test-linux: | |
name: Linux end-to-end tests | |
runs-on: [self-hosted, desktop-test, Linux] # app-test-linux | |
timeout-minutes: 240 | |
strategy: | |
fail-fast: false | |
matrix: | |
# os: [debian11, debian12, ubuntu2004, ubuntu2204, ubuntu2304, fedora38, fedora37, fedora36] | |
os: [debian11] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run end-to-end tests | |
shell: bash -ieo pipefail {0} | |
run: | | |
./test/ci-runtests.sh ${{ matrix.os }} | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ matrix.os }}_report | |
path: ./tests/.ci-logs/${{ matrix.os }}_report | |
compile-test-matrix: | |
name: Result matrix | |
needs: e2e-test-linux | |
if: '!cancelled()' | |
runs-on: [self-hosted, desktop-test, Linux] | |
timeout-minutes: 240 | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v3 | |
with: | |
path: ./test/.ci-logs/ | |
- name: Generate test result matrix | |
shell: bash -ieo pipefail {0} | |
run: | | |
cd test | |
cargo run --bin test-manager format-test-reports .ci-logs/*_report > output.html | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: output.html | |
path: test/output.html | |
# Enable emailing the test report | |
# if: ${{ github.event_name == 'schedule' }} |