-
-
Notifications
You must be signed in to change notification settings - Fork 12
52 lines (43 loc) · 1.13 KB
/
Copy pathtest.yml
File metadata and controls
52 lines (43 loc) · 1.13 KB
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: Test
on:
workflow_call:
push:
branches: [main]
paths-ignore:
- "**.md"
pull_request:
branches: [main, dev]
paths-ignore:
- "**.md"
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
test:
runs-on: ubuntu-latest
name: Test with ${{ matrix.tasks }} on ${{ matrix.os }}
outputs:
tests-pass: ${{ steps.test-results.outputs.result }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
tasks: [test-import-tripwire, test-base, test-audio, test-r, test-all]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Pixi
uses: prefix-dev/setup-pixi@v0.9.5
env:
RPY2_CFFI_MODE: "ABI"
with:
pixi-version: v0.68.0
environments: >-
test test-audio test-r test-all
cache: true
locked: false
- name: Run tests
id: test-results
run: |
pixi run ${{ matrix.tasks }}
echo "result=true" >> $GITHUB_OUTPUT