ci: ensure repo root on PYTHONPATH when running pytest
All checks were successful
CI / Lint, test, and build (push) Successful in 49s
All checks were successful
CI / Lint, test, and build (push) Successful in 49s
This commit is contained in:
parent
a8f7ac9b7a
commit
9c26ae3e90
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ jobs:
|
||||||
- name: Run tests (pytest)
|
- name: Run tests (pytest)
|
||||||
run: |
|
run: |
|
||||||
. .venv/bin/activate
|
. .venv/bin/activate
|
||||||
|
export PYTHONPATH="$(pwd)${PYTHONPATH:+:$PYTHONPATH}"
|
||||||
pytest -q --maxfail=1
|
pytest -q --maxfail=1
|
||||||
|
|
||||||
- name: Build sample reports (no artifact upload)
|
- name: Build sample reports (no artifact upload)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue