Skip to content

Commit

Permalink
Use tox-gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bonicim committed Apr 1, 2024
1 parent 2277b45 commit 537baa3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ jobs:
# install tox
#----------------------------------------------
- name: Install tox, pytest-github
run: poetry run pip install 'tox>=4.4.11' 'pytest-github-actions-annotate-failures>=0.1.7' # 'tox-gh-actions'
run: poetry run pip install 'tox>=4.4.11' 'pytest-github-actions-annotate-failures>=0.1.7' 'tox-gh-actions'
#----------------------------------------------
# Run tests, linters defined in Tox
#----------------------------------------------
- name: Run tests, linters
run: |
poetry run make test-ci-github
# poetry run tox
poetry run tox
# poetry run make test-ci-github
11 changes: 9 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,22 @@

[tox]
min_version = 4.4.11
isolated_build = True
skip_missing_interpreters = true
envlist =
lint
notebooks-test
py38
py39
py310
py311
isolated_build = True
skip_missing_interpreters = true

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311, lint, notebooks-test

[testenv]
description = run tests
Expand Down

0 comments on commit 537baa3

Please sign in to comment.