Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bonicim committed Apr 1, 2024
1 parent 6c21534 commit 5d951b1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run-tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest]
python: ['3.8', '3.9', '3.10', '3.11']
runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -61,10 +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'
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 make test-ci-github
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[MAIN]

# Specify a score threshold to be exceeded before program exits with error.
fail-under=7.66
fail-under=7.26

# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
Expand Down
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 5d951b1

Please sign in to comment.