Skip to content

Commit

Permalink
More pathmap debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoghlan committed Oct 28, 2024
1 parent 21aee17 commit 15852fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ jobs:
export VENVSTACKS_EXPORT_TEST_ARTIFACTS="$GITHUB_WORKSPACE/export/tests"
mkdir -p "$VENVSTACKS_EXPORT_TEST_ARTIFACTS"
source "$VIRTUAL_ENV_BIN_DIR/activate"
python -m tox -v -- -m slow
# Testing: only cover the fast tests
# python -m tox -v -- -m slow
- name: Upload test failure debugging artifacts
if: failure() && steps.slow_tests.conclusion == 'failure'
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ tmp_path_retention_policy = "failed"
tmp_path_retention_count = 1

[tool.coverage.run]
debug = ["pathmap"]
relative_files = true
source_pkgs = [
"venvstacks",
Expand All @@ -109,7 +110,7 @@ omit = [
[tool.coverage.paths]
source = [
"src/",
".tox/*/lib/python*/site-packages/",
"**/.tox/**/site-packages/",
]

[tool.ruff]
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ passenv =
CI
VENVSTACKS_*
commands =
# Testing: only cover the fast tests
# (should pass '{posargs}'', not '-m "not slow"')
coverage run --parallel -m pytest -m "not slow" tests/
coverage run --parallel -m pytest {posargs} tests/

[testenv:format]
groups = dev
Expand Down

0 comments on commit 15852fb

Please sign in to comment.