Skip to content

Commit

Permalink
Drop codecov-action@v3, enable codecov by default
Browse files Browse the repository at this point in the history
Cherry-picked from d0949f7
  • Loading branch information
cottsay committed Jul 26, 2024
1 parent b2cd9dd commit 27bb4b1
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 @@ -14,6 +14,7 @@ jobs:
# Choose rosdistro for a canary build. It has ros-infrastructure
# dependencies and installs scripts, so exercieses a fair amount of the
# CI action features.
codecov: false
repository: ros-infrastructure/rosdistro
# Use HEAD to find strategy.json file instead of the tip of
# ros-infrastructure/ci
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 27bb4b1

Please sign in to comment.