Skip to content

Commit

Permalink
cd into tests dir to run pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
smsharma committed May 30, 2024
1 parent aa3d444 commit b5ad304
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches: [main] # Trigger the workflow on pushes to the main branch
pull_request:
branches: [main] # Trigger the workflow on pull requests to the main branch

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -20,10 +19,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Set up Python path
run: echo "PYTHONPATH=." >> $GITHUB_ENV
- name: Run tests
run: pytest tests/

run: |
cd tests
pytest .

0 comments on commit b5ad304

Please sign in to comment.