Skip to content

Commit

Permalink
restore tox --no-root option; fix [gh-actions];
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbc committed Nov 14, 2023
1 parent 1fef7c8 commit 915c964
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
poetry install --no-interaction --with dev --all-extras
poetry install --no-interaction --no-root --with dev --all-extras
poetry add tox-gh-actions
- name: test with tox (uses tox-gh-actions to select correct environment)
Expand Down
5 changes: 2 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ envlist = py39, py310, format, lint, build

[gh-actions]
python =
3.10: py310,
3.9: py39,
format, lint, build
3.10: py310
3.9: py39, format, lint, build

[testenv]
allowlist_externals = pytest
Expand Down

0 comments on commit 915c964

Please sign in to comment.