Skip to content

Commit

Permalink
OPS: Avoid uploading codecov on error because its too unreliable
Browse files Browse the repository at this point in the history
  • Loading branch information
thclark committed Nov 28, 2023
1 parent b241f44 commit 5f1a199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
needs: [publish]
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install poetry
run: pip install poetry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}

Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
uses: codecov/codecov-action@v3
with:
files: coverage.xml
fail_ci_if_error: true
fail_ci_if_error: false
# Token is not required for public repos, but see:
# https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 5f1a199

Please sign in to comment.