Skip to content

Commit

Permalink
fix tox
Browse files Browse the repository at this point in the history
  • Loading branch information
daisuke-yokomoto committed Dec 14, 2023
1 parent 0315a3e commit 7cedb1d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
poetry run python -m pip install tox-gh-actions
poetry install
- name: Test with tox
run: poetry run tox
run: poetry run tox -v
13 changes: 10 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
[tox]
envlist = py{38,39,310,311},yapf,isort,flake8,mypy
envlist = py{38,39,310,311}-{core,s3,gcs},yapf,isort,flake8,mypy
isolated_build = true

[testenv]
allowlist_externals = coverage
allowlist_externals = poetry, pytest
skip_install = true
commands = coverage run -m unittest discover -s test
commands =
s3: poetry install -E s3
s3: pytest -v -m "s3"

gcs: poetry install -E gcs
gcs: pytest -v -m "gcs"

core: pytest -v -m "not gcs and not s3"

[testenv:yapf]
allowlist_externals = yapf
Expand Down

0 comments on commit 7cedb1d

Please sign in to comment.