forked from KSP-CKAN/CKAN
-
Notifications
You must be signed in to change notification settings - Fork 2
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
- name: Download out artifact
uses: actions/download-artifact@v4
with:
name: Debug-out-unsigned
path: _build/out/
- name: Download repack artifact
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:
- build-debug
- test-build
if: failure()
uses: ./.github/workflows/notify.yml
with:
name: ${{ github.workflow }}
success: ${{ !contains(needs.*.result, 'failure') }}
secrets: inherit