Skip to content

Commit 865582f

Browse files
committed
Improved CI with EOL python versions
1 parent 71eaa8a commit 865582f

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

.github/workflows/test-bench.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
16+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1717
steps:
1818
- name: Check out repository code
1919
uses: actions/checkout@v4
@@ -34,7 +34,17 @@ jobs:
3434
- name: Install dependencies
3535
run: |
3636
python -m pip install -e .[dev]
37+
continue-on-error: ${{
38+
matrix.python-version == '3.6' ||
39+
matrix.python-version == '3.7' ||
40+
matrix.python-version == '3.8'
41+
}} # EOL python versions are allowed to fail
3742

3843
- name: Run benchmarks
3944
run: |
4045
python -m unittest discover -s tests -p 'test_bench_*.py'
46+
continue-on-error: ${{
47+
matrix.python-version == '3.6' ||
48+
matrix.python-version == '3.7' ||
49+
matrix.python-version == '3.8'
50+
}} # EOL python versions are allowed to fail

.github/workflows/test-unit.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
16+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1717
steps:
1818
- name: Check out repository code
1919
uses: actions/checkout@v4
@@ -34,11 +34,21 @@ jobs:
3434
- name: Install dependencies
3535
run: |
3636
python -m pip install -e .[dev]
37+
continue-on-error: ${{
38+
matrix.python-version == '3.6' ||
39+
matrix.python-version == '3.7' ||
40+
matrix.python-version == '3.8'
41+
}} # EOL python versions are allowed to fail
3742

3843
- name: Run tests and code coverage
3944
run: |
4045
coverage run --source=src -m unittest discover -s tests -p 'test_unit_*.py'
4146
coverage report -m
47+
continue-on-error: ${{
48+
matrix.python-version == '3.6' ||
49+
matrix.python-version == '3.7' ||
50+
matrix.python-version == '3.8'
51+
}} # EOL python versions are allowed to fail
4252

4353
- name: Upload coverage reports to Codecov
4454
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)