Skip to content

Commit

Permalink
Drop codecov-action@v3, enable codecov by default (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay authored Jun 28, 2024
1 parent b807fbe commit d0949f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
canary:
uses: ./.github/workflows/pytest.yaml
with:
codecov: false
# Choose colcon-notification for a canary build. It has colcon
# dependencies and debian patches, so exercieses a fair amount of the
# CI action features.
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy
inputs:
codecov:
description: 'run codecov action after testing'
default: false
default: true
required: false
type: boolean
matrix-filter:
Expand Down Expand Up @@ -61,9 +61,7 @@ jobs:
repository: ${{ inputs.setup-repository }}
path: ./.github-ci-action-repo
- uses: ./.github-ci-action-repo
- uses: codecov/codecov-action@v3
if: ${{ inputs.codecov }}
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ env.CODECOV_TOKEN != '' }}
if: ${{ inputs.codecov }}

0 comments on commit d0949f7

Please sign in to comment.