Skip to content

Commit

Permalink
chore: fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
GabDug committed Apr 1, 2024
1 parent 4c1e7f2 commit f67c66c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pdm 2.13.2
python 3.12.2
python 3.12.2 3.11.8 3.10.13 3.9.18
24 changes: 12 additions & 12 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
requires =
tox>=4.2
env_list =
report
clean
report
py{312, 311, 310, 39}-pdm{213, 212, 211, 210, 29, 28, 27}
py{312, 311, 310, 39}-poetry{17, 16}
py{312, 311, 310, 39}-poetry{18, 17, 16}

[testenv]
set_env =
py{39,310,311,312}-pdm{27,28,29,210,211,212,213}: COVERAGE_FILE = .coverage.{envname}
py{39,310,311,312}-poetry{16, 17}: COVERAGE_FILE = .coverage.{envname}
py{39,310,311,312}-poetry{16, 17, 18}: COVERAGE_FILE = .coverage.{envname}
commands =
pytest --cov --cov-append --cov-report=term-missing {posargs:-vv} --cov-config=pyproject.toml
allowlist_externals =
Expand All @@ -21,7 +21,15 @@ depends =
report: py{312, 311, 310, 39}-pdm{213, 212, 211, 210, 29, 28, 27}
report: py{312, 311, 310, 39}-poetry{17, 16}
py{312, 311, 310, 39}-pdm{213, 212, 211, 210, 29, 28, 27}: clean
py{312, 311, 310, 39}-poetry{17, 16}: clean
py{312, 311, 310, 39}-poetry{18, 17, 16}: clean

[testenv:clean]
skip_install = true
commands =
coverage erase
pdm export --dev --group testtox -o requirements-tox.txt
groups =
testtox

[testenv:report]
skip_install = true
Expand All @@ -33,14 +41,6 @@ commands =
coverage html
coverage xml

[testenv:clean]
skip_install = true
commands =
coverage erase
pdm export --dev --group testtox -o requirements-tox.txt
groups =
testtox

[testenv:py{39,310,311,312}-pdm{27,28,29,210,211,212,213}]
package = editable
deps =
Expand Down

0 comments on commit f67c66c

Please sign in to comment.