Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fundakol committed Jun 3, 2024
1 parent b6a1035 commit 8b4ac05
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
needs: lint
strategy:
matrix:
name: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
name: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
include:
- name: "3.7"
python: "3.7"
Expand All @@ -33,8 +33,11 @@ jobs:
- name: "3.11"
python: "3.11"
tox_env: "py311"
- name: "3.12"
python: "3.12"
tox_env: "py312"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Setup Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
Expand All @@ -52,7 +55,9 @@ jobs:
run: python -m coverage xml
- name: Upload coverage to Codecov
if: "matrix.use_coverage"
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true
files: ./coverage.xml
Expand All @@ -62,12 +67,12 @@ jobs:
runs-on: ubuntu-latest
name: flake8
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install packages
run: pip install tox
- name: Run tests
- name: Run linter
run: tox -e flake8

0 comments on commit 8b4ac05

Please sign in to comment.