-
Notifications
You must be signed in to change notification settings - Fork 18
38 lines (36 loc) · 993 Bytes
/
test_runner.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
# GitHub Action to run tests
name: Test suite
# Run workflow on every push that includes Python source files
on:
push:
paths:
- "**.py"
- ".github/workflows/test_runner.yml"
- "requirements.txt"
- "pyproject.toml"
- "execution_tests/**"
jobs:
call-unit-tests:
name: Unit tests
strategy:
fail-fast: true
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: [windows-latest, ubuntu-22.04]
uses: ./.github/workflows/unit_tests.yml
with:
host-os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
secrets: inherit
call-execution-tests:
name: Execution tests
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: [windows-latest, ubuntu-22.04]
uses: ./.github/workflows/execution_tests.yml
with:
host-os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
secrets: inherit