Skip to content

Commit

Permalink
Fix CI for Python 3.12 (Alir3z4#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
mborsetti authored Feb 28, 2024
1 parent 7ae5948 commit 8917f5c
Showing 1 changed file with 10 additions and 8 deletions.
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

0 comments on commit 8917f5c

Please sign in to comment.