Skip to content

Commit 05d36a8

Browse files
committed
Add step to run unit tests, failing the publish if the tests fail
1 parent 2384f77 commit 05d36a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
python -m pip install --upgrade pip
3131
pip install -r requirements.txt
3232
33+
- name: Run unit tests
34+
run: |
35+
python -m pytest -s -vv
36+
3337
- name: Build binary
3438
run: |
3539
echo "__version__ = \"${GITHUB_REF_NAME}\"" > src/difflib_parser/version.py

0 commit comments

Comments
 (0)