Commit ccba56d
CI: pass tests path to pytest so --runtime option registers
The --runtime option is added by tests/conftest.py via pytest_addoption.
pytest parses command-line options using only the initial conftests
(rootdir + path args) before testpaths is applied, and the repo root has
no conftest.py. Running bare `pytest --runtime netcore` therefore failed
with "unrecognized arguments: --runtime".
Pass the tests path explicitly so tests/conftest.py is loaded as an initial
conftest and the option is registered before argument parsing. Apply to
main.yml and both ARM.yml pytest steps.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 51dc1ac commit ccba56d
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
0 commit comments