Skip to content

Commit

Permalink
Pass in path to pytests to run
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Dec 7, 2024
1 parent fc56262 commit c41c7c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -335,18 +335,18 @@ jobs:
- name: Run main tests
if: matrix.test == 'main'
# running the "main" tests means "all tests that aren't auth"
run: pytest -m "not auth" --cov=binderhub
run: pytest -m "not auth" --cov=binderhub binderhub/tests/

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

- name: Run helm tests
if: matrix.test == 'helm'
run: |
export BINDER_URL=http://localhost:30901
pytest --helm -m "remote" --cov=binderhub
pytest --helm -m "remote" --cov=binderhub binderhub/tests/
- name: Get BinderHub health and metrics outputs
if: always()
Expand Down Expand Up @@ -449,7 +449,7 @@ jobs:
- name: Run remote tests
run: |
export BINDER_URL=http://localhost:8000/services/binder/
pytest -m remote --cov=binderhub
pytest -m remote --cov=binderhub binderhub/tests/
- name: Show hub logs
if: always()
Expand Down

0 comments on commit c41c7c0

Please sign in to comment.