Skip to content

Commit c41c7c0

Browse files
committed
Pass in path to pytests to run
1 parent fc56262 commit c41c7c0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,18 +335,18 @@ jobs:
335335
- name: Run main tests
336336
if: matrix.test == 'main'
337337
# running the "main" tests means "all tests that aren't auth"
338-
run: pytest -m "not auth" --cov=binderhub
338+
run: pytest -m "not auth" --cov=binderhub binderhub/tests/
339339

340340
- name: Run auth tests
341341
if: matrix.test == 'auth'
342342
# running the "auth" tests means "all tests that are marked as auth"
343-
run: pytest -m "auth" --cov=binderhub
343+
run: pytest -m "auth" --cov=binderhub binderhub/tests/
344344

345345
- name: Run helm tests
346346
if: matrix.test == 'helm'
347347
run: |
348348
export BINDER_URL=http://localhost:30901
349-
pytest --helm -m "remote" --cov=binderhub
349+
pytest --helm -m "remote" --cov=binderhub binderhub/tests/
350350
351351
- name: Get BinderHub health and metrics outputs
352352
if: always()
@@ -449,7 +449,7 @@ jobs:
449449
- name: Run remote tests
450450
run: |
451451
export BINDER_URL=http://localhost:8000/services/binder/
452-
pytest -m remote --cov=binderhub
452+
pytest -m remote --cov=binderhub binderhub/tests/
453453
454454
- name: Show hub logs
455455
if: always()

0 commit comments

Comments
 (0)