-
Notifications
You must be signed in to change notification settings - Fork 351
52 lines (51 loc) · 1.54 KB
/
desktop-e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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' }}