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 CI for Python 3.12 #411

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: setup python
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: '3.12'

- name: Install Requirements [${{ matrix.toxenv }}]
run: pip install tox

- name: Tox-${{ matrix.toxenv }}
run: tox
# This workflow contains a single job called "build"
Expand All @@ -51,6 +51,8 @@ jobs:
- py38
- py39
- py310
- py311
- py312
include:
- toxenv: py38
python-version: '3.8'
Expand All @@ -73,18 +75,18 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 2

- name: setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install Requirements [Python-${{ matrix.python-version }}]
run: pip install tox

- name: Tox-${{ matrix.toxenv }}
run: tox

- name: Upload coverage to Codecov
# see https://github.com/codecov/codecov-action/blob/master/README.md
uses: codecov/codecov-action@v2
Expand Down
Loading