Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
eleftherioszisis committed Jun 29, 2023
1 parent 18232e8 commit c31fc75
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/run-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -26,10 +26,10 @@ jobs:
run: |
tox
- name: Upload to codecov
if: ${{matrix.python-version == '3.9'}}
if: ${{matrix.python-version == '3.10'}}
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: false
files: ./coverage.xml
flags: pytest
name: "vascpy-py39"
name: "vascpy-py310"
11 changes: 6 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ testdeps =
[tox]
minversion = 3.1.0
envlist =
py{38,39}
py39-lint
py39-coverage
py{38,39,310,311}
py310-lint
py310-coverage
ignore_basepython_conflict = true

[testenv]
Expand All @@ -25,7 +25,7 @@ commands =
isort -l 100 --profile black {[base]name} tests setup.py
black -l 100 {[base]name} tests setup.py

[testenv:py39-lint]
[testenv:py310-lint]
deps =
mypy
isort
Expand All @@ -40,7 +40,7 @@ commands =
pycodestyle {[base]name}
pylint -j2 --ignored-modules=vtk {[base]name}

[testenv:py39-coverage]
[testenv:py310-coverage]
deps =
{[base]testdeps}
pytest-cov
Expand Down Expand Up @@ -78,3 +78,4 @@ python =
3.8 : py38
3.9 : py39
3.10: py310
3.11: py311

0 comments on commit c31fc75

Please sign in to comment.