forked from johnbeard/kiplot
-
Notifications
You must be signed in to change notification settings - Fork 67
41 lines (36 loc) · 1.08 KB
/
test_stable_nightly.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
name: Stable nightly regression tests
on:
workflow_dispatch
jobs:
test:
strategy:
fail-fast: false
matrix:
ki_release: [stable_nightly]
w_tests: [g1, g2, g3]
runs-on: ubuntu-latest
container: ghcr.io/inti-cmnb/kicad_auto_test:${{ matrix.ki_release }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Test ${{ matrix.ki_release }}
env:
KI_RELEASE: ${{ matrix.ki_release }}
run: |
rm -rf output
rm -f tests/.local
# Ensure we start a fresh coverage meassurement
python3-coverage erase
# Create the caches with macros
python3-coverage run src/kibot --help-outputs > /dev/null
# Run the 90% faster tests (under 3 s) together
# Do it in parallel
./${{ matrix.w_tests }}.sh
- name: Store results
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: Test_Output_${{ matrix.ki_release }}_${{ matrix.w_tests }}
# Important! empty directories are skipped!!!!
path: output