-
-
Notifications
You must be signed in to change notification settings - Fork 348
41 lines (38 loc) · 1.01 KB
/
test.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
name: Test CKAN + NetKAN
on:
push:
branches-ignore:
- master
workflow_call:
jobs:
build-debug:
uses: ./.github/workflows/build.yml
test-build:
needs: build-debug
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install runtime dependencies
run: sudo apt-get install -y xvfb
- uses: actions/download-artifact@v4
with:
name: Debug-out
path: _build/out/
- uses: actions/download-artifact@v4
with:
name: Debug-repack-unsigned
path: _build/repack/
- name: Run tests
run: xvfb-run ./build test+only --configuration=Debug --where="Category!=FlakyNetwork"
notify:
needs:
- test-build
if: failure()
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/notify
with:
name: ${{ github.workflow }}
success: ${{ !contains(needs.*.result, 'failure') }}
url: ${{ secrets.DISCORD_WEBHOOK }}