Releases: codecov/codecov-action
Releases · codecov/codecov-action
Add PR handling and tokenless upload support
Version 1.0.6
introduces the following changes:
- Add proper handling for pull requests by passing the
GITHUB_HEAD_REF
environment variable. This properly sets both the PR branch and PR number. - Add tokenless upload functionality by passing the
GITHUB_RUN_ID
environment variable to properly tag the build. This allows Codecov to locate the build via GitHub's API and validate the coverage upload without the need for a token (only for public repos) - Removes the
yml
input because putting it anywhere except for the root of the repo is not supported anymore
Add Input to Fail CI
Version 1.0.5
introduces the following changes:
- Add
fail_ci_if_error
input which lets users fail the CI pipeline if the Codecov upload step runs into any errors. By default, this is set to false. This addresses an issue where Codecov could fail silently and the user wouldn't know because Actions would've shown the step as being passed.
Convert Action to JavaScript
Version 1.0.4
introduces the following changes:
- Switch from a Docker based action to a JavaScript based action to add support for macOS and Windows builds. This also allows users to run the codecov action with matrix builds.
- Add a
yml
input so users can specify the path for their codecov.yml file - Add a
@v1
major version tag
Performance improvements, bug fixes
Version 1.0.3
of the Codecov Action includes the following changes:
- Use
debian:stretch-slim
base instead ofubuntu:latest
. Ubuntu takes significantly longer to build than Debian and thus extended pipeline run times - Allow for passing names with spaces
- Do not exit with a non-zero code if Codecov runs into errors. This is important because the entire CI/CD pipeline should not fail if Codecov isn't able to upload reports.
Switch to Ubuntu for base
Add a workflow to self-test the action.
Alpine Linux's find
command was missing --execdir
, switched to Ubuntu for base
Initial public release
Version 1 of the Codecov GitHub Action has the following functionality:
- Upload reports via required auth token
- Specify a file path to coverage report
- Include a name for your upload
- Include flags for your upload
Prerelease
Almost everything that's finalized before shipping out v1
Add upload 'name' param
Add functionality to be able to name your uploads
Patch: correct docs
Correct some errors in docs
Add flags input
Previously, file paths could not be specified by the user of this action. That is now implemented with this functionality