Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support python 3.12 #794

Merged
merged 1 commit into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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