Skip to content

Commit

Permalink
Use v3 of codecov GitHub action
Browse files Browse the repository at this point in the history
I'm observing a lot of:

> Error: Codecov: Failed to properly upload: The process
> '/Users/runner/work/_actions/codecov/codecov-action/v2/dist/codecov'
> failed with exit code 255

Recently. Unfortunately, this seems to be a hard to reproduce bug, as it
sometimes happens and sometimes not. Reading through some codecov
issues:

- https://github.com/codecov/codecov-action/issues/837
- codecov/codecov-action#598

updating their action to v3 was mentioned as a possible solution.
  • Loading branch information
BenjaminBossan committed Oct 11, 2022
1 parent b069c5f commit 6407561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: mypy --config-file pyproject.toml skops

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
env_vars: OS,PYTHON
fail_ci_if_error: true
Expand Down

0 comments on commit 6407561

Please sign in to comment.