-
Notifications
You must be signed in to change notification settings - Fork 15
43 lines (39 loc) · 1 KB
/
tests.yml
File metadata and controls
43 lines (39 loc) · 1 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
name: Python Tests Matrix
permissions:
contents: read
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
linux-tests:
strategy:
matrix:
backend: [fulcrum, cbf]
uses: ./.github/workflows/python-tests.yml
secrets: inherit
with:
os: ubuntu-22.04
backend: ${{ matrix.backend }}
windows-tests:
if: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'pytest-win') }}
strategy:
matrix:
backend: [cbf]
uses: ./.github/workflows/python-tests.yml
secrets: inherit
with:
os: windows-latest
backend: ${{ matrix.backend }}
macos-tests:
if: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'pytest-mac') }}
strategy:
matrix:
backend: [cbf]
uses: ./.github/workflows/python-tests.yml
secrets: inherit
with:
os: macos-latest
backend: ${{ matrix.backend }}