File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ test = [
1212 " pytest-benchmark>=4.0.0" ,
1313 " immutables>=0.20" ,
1414 " typing-extensions>=4.7.1" ,
15- " coverage>=7.2.7 " ,
15+ " coverage>=7.4.0 " ,
1616 " pytest-xdist>=3.4.0" ,
1717]
1818docs = [
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ allowlist_externals =
1919 make
2020 pdm
2121commands =
22- pdm install -G lint
22+ pdm sync -G lint
2323 make lint
2424
2525[testenv]
@@ -28,21 +28,27 @@ setenv =
2828 COVERAGE_PROCESS_START ={toxinidir}/pyproject.toml
2929allowlist_externals = pdm
3030commands_pre =
31- pdm install -G :all,test
31+ pdm sync -G :all,test
3232 python -c ' import pathlib; pathlib.Path("{env_site_packages_dir}/cov.pth").write_text("import coverage; coverage.process_startup()")'
3333commands =
3434 coverage run -m pytest tests {posargs:-n auto}
3535passenv = CI
3636package = wheel
3737wheel_build_env = .pkg
3838
39+ [testenv:py312]
40+ setenv =
41+ PDM_IGNORE_SAVED_PYTHON =" 1"
42+ COVERAGE_PROCESS_START ={toxinidir}/pyproject.toml
43+ COVERAGE_CORE =sysmon
44+
3945[testenv:pypy3]
4046setenv =
4147 PYTHONPATH = {toxinidir}:{toxinidir}/cattr
4248 FAST = 1
4349allowlist_externals = pdm
4450commands_pre =
45- pdm install -G :all,test
51+ pdm sync -G :all,test
4652 python -c ' import pathlib; pathlib.Path("{env_site_packages_dir}/cov.pth").write_text("import coverage; coverage.process_startup()")'
4753commands =
4854 coverage run -m pytest tests {posargs:-n auto}
You can’t perform that action at this time.
0 commit comments