Skip to content

Commit 01817f8

Browse files
committed
WIP
1 parent b759fc1 commit 01817f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/integrationtest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: pip install pdm && pdm install
3232

3333
- name: Execute the integrationtests (http1.1)
34-
run: python3 -m unittest discover tests/integrationtest
34+
run: PYTHONPATH=$PWD/src python3 -m unittest discover tests/integrationtest
3535
env:
3636
GRAFANA_HOST: ${{ secrets.GRAFANA_HOST }}
3737
GRAFANA_TOKEN: ${{ secrets.GRAFANA_TOKEN }}
@@ -45,7 +45,7 @@ jobs:
4545
run: sleep 20
4646

4747
- name: Execute the integrationtests (http2)
48-
run: python3 -m unittest discover tests/integrationtest
48+
run: PYTHONPATH=$PWD/src python3 -m unittest discover tests/integrationtest
4949
env:
5050
GRAFANA_HOST: ${{ secrets.GRAFANA_HOST }}
5151
GRAFANA_TOKEN: ${{ secrets.GRAFANA_TOKEN }}

.github/workflows/pull-request-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: pip install pdm && pdm install -d
2727

2828
- name: Execute the unittests
29-
run: python3 -m unittest discover tests/unittests
29+
run: PYTHONPATH=$PWD/src python3 -m unittest discover tests/unittests
3030

3131
pr-lint:
3232
runs-on: ubuntu-latest
@@ -76,7 +76,7 @@ jobs:
7676
run: pip install pdm && pdm install -d && pdm add pytest-cov coverage-badge
7777

7878
- name: Generate the coverage report
79-
run: export PYTHONPATH=$PWD && pytest --junitxml=pytest.xml --cov=. tests/unittests | tee pytest-coverage.txt
79+
run: PYTHONPATH=$PWD/src pytest --junitxml=pytest.xml --cov=. tests/unittests | tee pytest-coverage.txt
8080

8181
- name: Execute the coverage checks
8282
uses: MishaKav/[email protected]

0 commit comments

Comments
 (0)