-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add github actions workflow for running end-to-end desktop tests
- Loading branch information
1 parent
7ba2592
commit 85b6a37
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: Desktop - End-to-end testing on supported platforms | ||
on: | ||
workflow_dispatch: | ||
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@v3 | ||
|
||
- name: Run instrumented test script | ||
shell: bash -ieo pipefail {0} | ||
env: | ||
TEST_OSES: ${{ matrix.os }} | ||
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 |