debug tests.conftest import on windows

This commit is contained in:
Kyle Altendorf 2022-03-29 09:03:41 -04:00
parent eb6afb1dfb
commit ea71a51625
No known key found for this signature in database
GPG Key ID: 5715D880FF005192
29 changed files with 58 additions and 29 deletions

View File

@ -83,7 +83,8 @@ jobs:
- name: Test blockchain code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/blockchain/test_*.py -s -v --durations 0 -n 4 -m "not benchmark" -p no:monitor

View File

@ -77,7 +77,8 @@ jobs:
- name: Test clvm code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/clvm/test_*.py -s -v --durations 0 -n 4 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test core-cmds code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/core/cmds/test_*.py -s -v --durations 0 -n 4 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test core-consensus code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/core/consensus/test_*.py -s -v --durations 0 -n 4 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test core-custom_types code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/core/custom_types/test_*.py -s -v --durations 0 -n 4 -m "not benchmark" -p no:monitor

View File

@ -95,7 +95,8 @@ jobs:
- name: Test core-daemon code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/core/daemon/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test core-full_node-full_sync code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/core/full_node/full_sync/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test core-full_node-stores code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/core/full_node/stores/test_*.py -s -v --durations 0 -n 4 -m "not benchmark"

View File

@ -83,7 +83,8 @@ jobs:
- name: Test core-full_node code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/core/full_node/test_*.py -s -v --durations 0 -n 4 -m "not benchmark"

View File

@ -83,7 +83,8 @@ jobs:
- name: Test core-server code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/core/server/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test core-ssl code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/core/ssl/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test core-util code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/core/util/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test core code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/core/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test farmer_harvester code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/farmer_harvester/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test generator code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/generator/test_*.py -s -v --durations 0 -n 4 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test plotting code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/plotting/test_*.py -s -v --durations 0 -n 4 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test pools code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/pools/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -95,7 +95,8 @@ jobs:
- name: Test simulation code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/simulation/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test tools code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/tools/test_*.py -s -v --durations 0 -n 4 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test util code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/util/test_*.py -s -v --durations 0 -n 4 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test wallet-cat_wallet code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/wallet/cat_wallet/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test wallet-did_wallet code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/wallet/did_wallet/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test wallet-rl_wallet code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/wallet/rl_wallet/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test wallet-rpc code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/wallet/rpc/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test wallet-simple_sync code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/wallet/simple_sync/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test wallet-sync code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/wallet/sync/test_*.py -s -v --durations 0 -n 0 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test wallet code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/wallet/test_*.py -s -v --durations 0 -n 4 -m "not benchmark" -p no:monitor

View File

@ -83,7 +83,8 @@ jobs:
- name: Test weight_proof code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest tests/weight_proof/test_*.py -s -v --durations 0 -n 4 -m "not benchmark" -p no:monitor

View File

@ -77,7 +77,8 @@ INSTALL_TIMELORD
- name: Test TEST_NAME code with pytest
run: |
venv/Scripts/python -c "print(' ==== about to import'); import pkg_resources; print(' ==== just imported')"
venv/Scripts/python -c "print(' ==== about to import pkg_resources'); import pkg_resources; print(' ==== just imported pkg_resources')"
venv/Scripts/python -c "print(' ==== about to import tests.conftest'); import tests.conftest; print(' ==== just imported tests.conftest')"
./venv/Scripts/activate.ps1
venv/Scripts/coverage run --rcfile=.coveragerc --module pytest TEST_DIR -s -v --durations 0PYTEST_PARALLEL_ARGS -m "not benchmark" DISABLE_PYTEST_MONITOR