File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,14 @@ jobs:
4646 pip install --editable=.[test]
4747 postroj --version
4848
49+ - name : Debug environment
50+ run : |
51+ sudo --preserve-env python -c 'import json, os; print(json.dumps(dict(os.environ), indent=2))'
52+
4953 - name : Run tests
5054 # FIXME: Can this be run without elevated privileges?
5155 run : |
52- sudo $(command -v pytest)
56+ sudo --preserve-env $(command -v pytest)
5357 coverage xml --omit postroj/winrunner.py
5458
5559 - name : Upload coverage results to Codecov
Original file line number Diff line number Diff line change 1212
1313
1414if "rackerhost-debian11" in socket .gethostname ():
15- pytest .skip ("Nested virtualization with VT-x not working on developer's workstation" , allow_module_level = True )
15+ pytest .skip ("Nested virtualization with VT-x fails on developer's macOS workstation" , allow_module_level = True )
1616
17- if "GITHUB_ACTIONS" in os .environ :
17+ GITHUB_ACTIONS = os .environ .get ("GITHUB_ACTIONS" ) in ('True' , 'true' )
18+ if GITHUB_ACTIONS :
1819 pytest .skip ("Installing the Vagrant filesystem image for Windows "
1920 "takes too much disk space on GitHub Actions" , allow_module_level = True )
2021
You can’t perform that action at this time.
0 commit comments