Skip to content

Commit 6f67ea9

Browse files
committed
update workflow and configs for python 3.12
1 parent 5fe525d commit 6f67ea9

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/deploy_pkg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install python
2020
uses: actions/setup-python@v5
2121
with:
22-
python-version: '3.9'
22+
python-version: '3.12'
2323

2424
- name: Install dependencies
2525
run: |

.github/workflows/pytest.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ jobs:
2222
strategy:
2323
matrix:
2424
config:
25-
- {os: 'ubuntu-latest', python-version: '3.9'}
26-
- {os: 'windows-latest', python-version: '3.9'}
27-
- {os: 'macOS-latest', python-version: '3.9'}
25+
- {os: 'windows-latest', python-version: '3.10'}
26+
- {os: 'macOS-latest', python-version: '3.10'}
2827
- {os: 'ubuntu-latest', python-version: '3.10'}
2928
- {os: 'ubuntu-latest', python-version: '3.11'}
3029
- {os: 'ubuntu-latest', python-version: '3.12'}
@@ -57,23 +56,23 @@ jobs:
5756
- name: Test with pytest
5857
if: |
5958
matrix.config.os != 'ubuntu-latest' ||
60-
matrix.config.python-version != '3.9'
59+
matrix.config.python-version != '3.12'
6160
run: |
6261
pytest -m ci
6362
pytest -m ci_rdd
6463
6564
- name: Test with pytest and coverage
6665
if: |
6766
matrix.config.os == 'ubuntu-latest' &&
68-
matrix.config.python-version == '3.9'
67+
matrix.config.python-version == '3.12'
6968
run: |
7069
pip install pytest-cov
7170
pytest --cov=./ --cov-report=xml --cov-report=html
7271
7372
- name: Archive code coverage results
7473
if: |
7574
matrix.config.os == 'ubuntu-latest' &&
76-
matrix.config.python-version == '3.9'
75+
matrix.config.python-version == '3.12'
7776
uses: actions/upload-artifact@v4
7877
with:
7978
name: code-coverage-report
@@ -85,7 +84,7 @@ jobs:
8584
- name: Upload coverage to Codecov
8685
if: |
8786
matrix.config.os == 'ubuntu-latest' &&
88-
matrix.config.python-version == '3.9'
87+
matrix.config.python-version == '3.12'
8988
uses: codecov/codecov-action@v5
9089
with:
9190
fail_ci_if_error: false
@@ -96,7 +95,7 @@ jobs:
9695
- name: Upload coverage to codacy
9796
if: |
9897
matrix.config.os == 'ubuntu-latest' &&
99-
matrix.config.python-version == '3.9'
98+
matrix.config.python-version == '3.12'
10099
continue-on-error: true
101100
uses: codacy/codacy-coverage-reporter-action@v1
102101
with:

0 commit comments

Comments
 (0)