Fix ci-runtests.sh
not failing due to exit code of tee
#16
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 testing on supported platforms | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
# TODO(markus,david): Remove before merging to main | |
push: | |
brances: | |
- migrate-tests | |
workflow_dispatch: | |
inputs: | |
tag: | |
description: 'Signed tag' | |
required: true | |
jobs: | |
instrumented-tests: | |
name: Run end-to-end desktop tests | |
runs-on: [self-hosted, desktop-test] | |
timeout-minutes: 240 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [debian11, debian12, ubuntu2004, ubuntu2204, ubuntu2304, fedora38, fedora37, fedora36, windows10, windows11] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run end-to-end tests | |
shell: bash -ieo pipefail {0} | |
env: | |
TEST_OSES: ${{ matrix.os }} | |
TAG: ${{ github.event.inputs.tag }} | |
run: | | |
./test/ci-runtests.sh ${{ matrix.os }} | |
- name: Upload end-to-end test report (${{ matrix.os }}) | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: ${{ matrix.os }}-end-to-end-test-report | |
path: ./test/.ci-logs/os/${{ matrix.os }}.log | |
if-no-files-found: ignore | |
retention-days: 2 |