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 f655be4 commit 56a3108
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
10 changes: 5 additions & 5 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 @@ -58,13 +58,13 @@ jobs:
virtualenvs-in-project: true
installer-parallel: true
#----------------------------------------------
# install tox
# install other testing dependencies
#----------------------------------------------
- name: Install tox, pytest-github
run: poetry run pip install 'tox>=4.4.11' 'pytest-github-actions-annotate-failures>=0.1.7'
- name: Install tox, pytest-github, 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
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ test-tox:
### Tests using Poetry + Tox
### Used by Bamboo CI Pipeline, Github Workflows CI Pipeline

.PHONY: test-ci-github
test-ci-github: run-poetry-tox

.PHONY: test-ci-stash
test-ci-stash: install-poetry-stash run-poetry-tox clean-poetry-env

Expand Down
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 56a3108

Please sign in to comment.