Skip to content

Commit 47cb387

Browse files
authored
[MNT] added pytest run command for github CI (#686)
## Change(s) in the `.github\workflows\pytest-tests.yml` file for `Run Unit Test via Pytest` does not contain any workflow to run the actual `pytests`. the jobs currently do: - Setup Python virtual environment - Install dependencies - pre-commit check added the job to run pytest at the end: ```yaml - name: Run pytest run: | source venv/bin/activate pytest src/tests ``` this should enable running the ctual pytests on github CI. Solves #684
1 parent 7f343f0 commit 47cb387

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pytest-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,8 @@ jobs:
4040
run: |
4141
source venv/bin/activate
4242
pre-commit run --all
43+
44+
- name: Run pytest
45+
run: |
46+
source venv/bin/activate
47+
pytest src/tests

0 commit comments

Comments
 (0)