Skip to content

Commit 9dd703a

Browse files
committed
temp: debug windows
1 parent 17cb674 commit 9dd703a

File tree

2 files changed

+20
-16
lines changed

2 files changed

+20
-16
lines changed

.github/workflows/testsuite.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,16 @@ jobs:
8080
# Available versions:
8181
# https://github.com/actions/python-versions/blob/main/versions-manifest.json
8282
# https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#available-versions-of-python-and-pypy
83-
- "3.9"
84-
- "3.10"
85-
- "3.11"
83+
#- "3.9"
84+
#- "3.10"
85+
#- "3.11"
8686
- "3.12"
87-
- "3.13"
88-
- "3.13t"
89-
- "3.14"
90-
- "3.14t"
91-
- "pypy-3.9"
92-
- "pypy-3.10"
87+
#- "3.13"
88+
#- "3.13t"
89+
#- "3.14"
90+
#- "3.14t"
91+
#- "pypy-3.9"
92+
#- "pypy-3.10"
9393
- "pypy-3.11"
9494
#
9595
# If we need to exclude any combinations, do it like this:
@@ -146,13 +146,13 @@ jobs:
146146
147147
- name: "Run tox for ${{ matrix.python-version }}"
148148
run: |
149-
python -m tox -- -rfsEX
149+
python -m tox -- -rfsEX -n 0 -k with_source
150150
151-
- name: "Retry tox for ${{ matrix.python-version }}"
152-
if: failure()
153-
run: |
154-
# `exit 1` makes sure that the job remains red with flaky runs
155-
python -m tox -- -rfsEX --lf -vvvvv && exit 1
151+
#- name: "Retry tox for ${{ matrix.python-version }}"
152+
# if: failure()
153+
# run: |
154+
# # `exit 1` makes sure that the job remains red with flaky runs
155+
# python -m tox -- -rfsEX --lf -vvvvv && exit 1
156156

157157
# This job aggregates test results. It's the required check for branch protection.
158158
# https://github.com/marketplace/actions/alls-green#why

tests/test_process.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1660,12 +1660,16 @@ def test_subprocess_dir_with_source(self) -> None:
16601660
)
16611661
self.set_environ("PYTHONPATH", os.path.abspath("lib"))
16621662
with change_dir("main"):
1663-
out = self.run_command("coverage run main.py")
1663+
out = self.run_command("coverage run --debug=config,dataio main.py")
16641664
assert out == "Other\nHello, world!\n"
1665+
import glob
1666+
1667+
print(sorted(glob.glob("**", recursive=True, include_hidden=True)))
16651668
self.run_command("coverage combine")
16661669
data = coverage.CoverageData()
16671670
data.read()
16681671
assert line_counts(data) == {"main.py": 6, "sub.py": 2, "other.py": 1}
1672+
1 / 0
16691673

16701674

16711675
@pytest.fixture

0 commit comments

Comments
 (0)