Skip to content

Commit

Permalink
fix: support python 3.12 (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahnu committed Aug 21, 2023
1 parent c8524a6 commit e2e314f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/cicd.yml
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11-dev']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12-dev']
fail-fast: true
steps:
- uses: actions/checkout@v3.5.3
Expand All @@ -43,15 +43,16 @@ jobs:
run: . script/bootstrap
shell: bash
- name: Run Tests
if: "!(matrix.python-version == '3.11-dev' && matrix.os == 'ubuntu-latest')"
if: |
!(matrix.python-version == '3.12-dev' && matrix.os == 'ubuntu-latest')
shell: bash
run: poetry run invoke test
- name: Run Tests (with coverage)
if: matrix.python-version == '3.11-dev' && matrix.os == 'ubuntu-latest'
if: matrix.python-version == '3.12-dev' && matrix.os == 'ubuntu-latest'
shell: bash
run: poetry run invoke test --coverage
- name: Upload Coverage
if: matrix.python-version == '3.11-dev' && matrix.os == 'ubuntu-latest'
if: matrix.python-version == '3.12-dev' && matrix.os == 'ubuntu-latest'
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
shell: bash
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Expand Up @@ -16,6 +16,7 @@ classifiers = [
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Testing',
'Topic :: Utilities',
Expand Down

0 comments on commit e2e314f

Please sign in to comment.