Skip to content

Commit 35571a7

Browse files
committed
what if we just use anypy
1 parent a34dc25 commit 35571a7

File tree

2 files changed

+26
-25
lines changed

2 files changed

+26
-25
lines changed

.github/workflows/nightly2.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ jobs:
9090
# said to:
9191
# sudo ln -s /usr/local/lib64/python3.12/lib-dynload /usr/local/lib/python3.12/lib-dynload
9292
93-
- name: "What's in pyenv"
94-
run: |
95-
export PYENV_ROOT="$HOME/.pyenv"
96-
ls -lR $PYENV_ROOT/versions
93+
#- name: "What's in pyenv"
94+
# run: |
95+
# export PYENV_ROOT="$HOME/.pyenv"
96+
# ls -lR $PYENV_ROOT/versions
9797

9898
- name: "Try the thing"
9999
run: |
@@ -124,11 +124,13 @@ jobs:
124124
run: |
125125
python -m pip install -r requirements/tox.pip
126126
127-
- name: Setup upterm session
128-
uses: lhotari/action-upterm@v1
129-
127+
#- name: Setup upterm session
128+
# uses: lhotari/action-upterm@v1
129+
#
130130
- name: "Run tox"
131131
env:
132-
PYTHONVERBOSE: 2
132+
XXXPYTHONVERBOSE: 2
133+
PYVER: "${{ matrix.python-version }}-dev"
133134
run: |
134-
python -m tox -v -- -rfsEX
135+
export COVERAGE_ANYPY=$HOME/.pyenv/versions/$PYVER/bin/python3
136+
python -m tox -e anypy -v -- -rfsEX

tox.ini

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,21 @@ setenv =
4242
# $set_env.py: COVERAGE_PIP_ARGS - Extra arguments for `pip install`
4343
# `--no-build-isolation` will let tox work with no network.
4444
commands =
45-
python -m site
46-
;# Create tests/zipmods.zip
47-
;python igor.py zip_mods
48-
;
49-
;# Remove the C extension so that we can test the PyTracer
50-
;python igor.py remove_extension
51-
;
52-
;# Test with the PyTracer
53-
;python igor.py test_with_core pytrace {posargs}
54-
;
55-
;# Build the C extension and test with the CTracer
56-
;python setup.py --quiet build_ext --inplace
57-
;python -m pip install {env:COVERAGE_PIP_ARGS} -q -e .
58-
;python igor.py test_with_core ctrace {posargs}
59-
;
60-
;py3{12,13,14}{,t},anypy: python igor.py test_with_core sysmon {posargs}
45+
# Create tests/zipmods.zip
46+
python igor.py zip_mods
47+
48+
# Remove the C extension so that we can test the PyTracer
49+
python igor.py remove_extension
50+
51+
# Test with the PyTracer
52+
python igor.py test_with_core pytrace {posargs}
53+
54+
# Build the C extension and test with the CTracer
55+
python setup.py --quiet build_ext --inplace
56+
python -m pip install {env:COVERAGE_PIP_ARGS} -q -e .
57+
python igor.py test_with_core ctrace {posargs}
58+
59+
py3{12,13,14}{,t},anypy: python igor.py test_with_core sysmon {posargs}
6160

6261
# Until tox properly supports no-gil interpreter selection
6362
[testenv:py313t]

0 commit comments

Comments
 (0)