Skip to content

Commit

Permalink
No check-in fail if codecov upload does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
martinholmer committed Nov 13, 2024
1 parent 79f79e6 commit 46e1e8c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ jobs:
pip install -e . --user
pip install pytest-cov --user
pip install pytest-pycodestyle --user
- name: Test
shell: bash -l {0}
working-directory: ./
run: |
pytest -m 'not requires_pufcsv and not pre_release and not local' --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest' && contains(github.repository, 'PSLmodels/Tax-Calculator')
uses: codecov/codecov-action@v4
Expand All @@ -43,5 +45,6 @@ jobs:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
#fail_ci_if_error: true
fail_ci_if_error: false
verbose: true

0 comments on commit 46e1e8c

Please sign in to comment.