Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 6952:4eea63155cff
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.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 10 Sep 2022 21:57:45 -0400 |
| parents | 31c56e8dfefb |
| children | 301f352b5d63 |
comparison
equal
deleted
inserted
replaced
| 6951:31c56e8dfefb | 6952:4eea63155cff |
|---|---|
| 20 contents: read | 20 contents: read |
| 21 | 21 |
| 22 jobs: | 22 jobs: |
| 23 test: | 23 test: |
| 24 name: CI build test | 24 name: CI build test |
| 25 | |
| 26 # run the finalizer for coveralls even if one or more | |
| 27 # matrix runs fail. | |
| 28 continue-on-error: true | |
| 25 | 29 |
| 26 #runs-on: ubuntu-latest | 30 #runs-on: ubuntu-latest |
| 27 # use below if running on multiple OS's. | 31 # use below if running on multiple OS's. |
| 28 runs-on: ${{ matrix.os }} | 32 runs-on: ${{ matrix.os }} |
| 29 | 33 |
| 190 -W "ignore:SelectableGroups:DeprecationWarning" \ | 194 -W "ignore:SelectableGroups:DeprecationWarning" \ |
| 191 -W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15" \ | 195 -W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15" \ |
| 192 -W "ignore:'U' mode::docutils.io" \ | 196 -W "ignore:'U' mode::docutils.io" \ |
| 193 -W "ignore:unclosed:ResourceWarning:roundup.roundup.demo" \ | 197 -W "ignore:unclosed:ResourceWarning:roundup.roundup.demo" \ |
| 194 -W "ignore:unclosed file:ResourceWarning:enum" \ | 198 -W "ignore:unclosed file:ResourceWarning:enum" \ |
| 195 -v test/test_actions.py --cov=roundup | 199 -v test/ --cov=roundup |
| 196 if [[ "$PYTHON_VERSION" != "3.6" ]]; then | 200 if [[ "$PYTHON_VERSION" != "3.6" ]]; then |
| 197 # coverage before 3.6 doesn't support lcov output | 201 # coverage before 3.6 doesn't support lcov output |
| 198 coverage lcov | 202 coverage lcov |
| 199 fi | 203 fi |
| 200 else | 204 else |
| 201 # python2 case | 205 # python2 case |
| 202 pytest -v -r a test/test_actions.py --cov=roundup | 206 pytest -v -r a test/ --cov=roundup |
| 203 fi | 207 fi |
| 204 | 208 |
| 205 - name: Upload coverage to Codecov | 209 - name: Upload coverage to Codecov |
| 206 # see: https://github.com/codecov/codecov-action#usage | 210 # see: https://github.com/codecov/codecov-action#usage |
| 207 uses: codecov/codecov-action@v3 | 211 uses: codecov/codecov-action@v3 |
