Skip to content

Commit

Permalink
Add github actions workflow for running end-to-end desktop tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Oct 13, 2023
1 parent 7ba2592 commit 85b6a37
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/desktop-e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Desktop - End-to-end testing on supported platforms
on:

Check warning on line 3 in .github/workflows/desktop-e2e.yml

View workflow job for this annotation

GitHub Actions / check-formatting

3:1 [truthy] truthy value should be one of [false, true]
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

0 comments on commit 85b6a37

Please sign in to comment.