-
Notifications
You must be signed in to change notification settings - Fork 134
49 lines (46 loc) · 1.27 KB
/
testing-all-oses.yml
File metadata and controls
49 lines (46 loc) · 1.27 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
name: Test MSS
on:
push:
branches:
- develop
- stable
- 'GSOC**'
pull_request:
branches:
- develop
- stable
- 'GSOC**'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["macos-14", "macos-15", "ubuntu-latest"]
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4
- uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
with:
pixi-version: latest
cache: true
environments: dev
- name: Run tests
timeout-minutes: 40
run: pixi run -e dev env QT_QPA_PLATFORM=offscreen pytest -v -n logical --durations=20 --cov=mslib tests
- run: pixi run -e dev coverage xml
- name: Send coverage to Coveralls (parallel)
uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # v2.3.7
with:
debug: true
parallel: true
format: cobertura
flag-name: ${{ join(matrix.*, ' - ') }}
finish:
needs: test
runs-on: ubuntu-latest
if: ${{ always() }}
steps:
- name: Close parallel build
uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # v2.3.7
with:
parallel-finished: true