Skip to content

Commit 5f39226

Browse files
authored
Merge pull request #109 from Lee-W/fix-test-script
fix(scripts/test): ensure the script fails once the first failure happens
2 parents f469559 + b3958be commit 5f39226

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
poetry install
2525
- name: Run tests
2626
run: |
27+
git config --global user.email "action@github.com"
28+
git config --global user.name "GitHub Action"
2729
./scripts/test
2830
- name: Upload coverage to Codecov
2931
if: runner.os == 'Linux'

scripts/test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/sh -e
2+
13
export PREFIX="poetry run python -m "
24
if [ -d 'venv' ] ; then
35
export PREFIX="venv/bin/"

0 commit comments

Comments
 (0)