Skip to content

Commit 39f0d39

Browse files
committed
Fixing failures
1 parent fcf5a60 commit 39f0d39

2 files changed

Lines changed: 38 additions & 10 deletions

File tree

.github/workflows/test-bench.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,25 @@ jobs:
1414
strategy:
1515
matrix:
1616
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
17-
allow-failure:
18-
- ${{ contains(fromJson('["3.6","3.7","3.8"]'), matrix.python-version) }}
17+
include:
18+
- python-version: 3.6
19+
allow-failure: true
20+
- python-version: 3.7
21+
allow-failure: true
22+
- python-version: 3.8
23+
allow-failure: true
24+
- python-version: 3.9
25+
allow-failure: false
26+
- python-version: 3.10
27+
allow-failure: false
28+
- python-version: 3.11
29+
allow-failure: false
30+
- python-version: 3.12
31+
allow-failure: false
32+
- python-version: 3.13
33+
allow-failure: false
34+
continue-on-error: ${{ matrix.allow-failure }}
35+
name: Python ${{ matrix.python-version }} bench tests
1936

2037
steps:
2138
- name: Check out repository code
@@ -33,14 +50,11 @@ jobs:
3350
uses: actions/setup-python@v5
3451
with:
3552
python-version: ${{ matrix.python-version }}
36-
continue-on-error: ${{ matrix.allow-failure }}
3753

3854
- name: Install dependencies
3955
run: |
4056
python -m pip install -e .[dev]
41-
continue-on-error: ${{ matrix.allow-failure }}
4257
4358
- name: Run benchmarks
4459
run: |
4560
python -m unittest discover -s tests -p 'test_bench_*.py'
46-
continue-on-error: ${{ matrix.allow-failure }}

.github/workflows/test-unit.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,25 @@ jobs:
1414
strategy:
1515
matrix:
1616
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
17-
allow-failure:
18-
- ${{ contains(fromJson('["3.6","3.7","3.8"]'), matrix.python-version) }}
17+
include:
18+
- python-version: 3.6
19+
allow-failure: true
20+
- python-version: 3.7
21+
allow-failure: true
22+
- python-version: 3.8
23+
allow-failure: true
24+
- python-version: 3.9
25+
allow-failure: false
26+
- python-version: 3.10
27+
allow-failure: false
28+
- python-version: 3.11
29+
allow-failure: false
30+
- python-version: 3.12
31+
allow-failure: false
32+
- python-version: 3.13
33+
allow-failure: false
34+
continue-on-error: ${{ matrix.allow-failure }}
35+
name: Python ${{ matrix.python-version }} unit tests
1936

2037
steps:
2138
- name: Check out repository code
@@ -33,18 +50,15 @@ jobs:
3350
uses: actions/setup-python@v5
3451
with:
3552
python-version: ${{ matrix.python-version }}
36-
continue-on-error: ${{ matrix.allow-failure }}
3753

3854
- name: Install dependencies
3955
run: |
4056
python -m pip install -e .[dev]
41-
continue-on-error: ${{ matrix.allow-failure }}
4257
4358
- name: Run tests and code coverage
4459
run: |
4560
coverage run --source=src -m unittest discover -s tests -p 'test_unit_*.py'
4661
coverage report -m
47-
continue-on-error: ${{ matrix.allow-failure }}
4862
4963
- name: Upload coverage reports to Codecov
5064
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)