Skip to content

Commit 2676627

Browse files
committed
enable all tests, make test job failure stil run final job.
Even if some jobs fail in the test matrix, still run the final job. Also run all tests as upload is working now.
1 parent b46604d commit 2676627

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci-test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
test:
2424
name: CI build test
2525

26+
# run the finalizer for coveralls even if one or more
27+
# matrix runs fail.
28+
continue-on-error: true
29+
2630
#runs-on: ubuntu-latest
2731
# use below if running on multiple OS's.
2832
runs-on: ${{ matrix.os }}
@@ -192,14 +196,14 @@ jobs:
192196
-W "ignore:'U' mode::docutils.io" \
193197
-W "ignore:unclosed:ResourceWarning:roundup.roundup.demo" \
194198
-W "ignore:unclosed file:ResourceWarning:enum" \
195-
-v test/test_actions.py --cov=roundup
199+
-v test/ --cov=roundup
196200
if [[ "$PYTHON_VERSION" != "3.6" ]]; then
197201
# coverage before 3.6 doesn't support lcov output
198202
coverage lcov
199203
fi
200204
else
201205
# python2 case
202-
pytest -v -r a test/test_actions.py --cov=roundup
206+
pytest -v -r a test/ --cov=roundup
203207
fi
204208
205209
- name: Upload coverage to Codecov

0 commit comments

Comments
 (0)