Skip to content

Commit

Permalink
Remove installing the repo as a package to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lizgzil committed Sep 19, 2024
1 parent f45b571 commit a0dc98b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ jobs:
# needed to run the tests
# pip install -r requirements.txt
pip install pytest
pip install -e ."[test]"
# For a normal project you would also do this so you can import functions
# from the repo in your tests
# pip install -e ."[test]"
- name: (ubuntu) Test with pytest
if: runner.os != 'windows'
run: |
Expand All @@ -45,7 +47,9 @@ jobs:
# needed to run the tests
# pip install -r requirements.txt
pip install pytest
pip install -e .
# For a normal project you would also do this so you can import functions
# from the repo in your tests
# pip install -e .
- name: (windows) Test with pytest
if: runner.os == 'windows'
shell: bash
Expand Down

0 comments on commit a0dc98b

Please sign in to comment.