Skip to content

Commit

Permalink
Use updated codecov action
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynne committed Apr 19, 2024
1 parent 18864c9 commit afbd56c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ on:
required: false
default: true
description: "Set to 'true' to collect and upload code coverage data. Defaults to 'false'."
coverage_ignores:
type: string
required: false
default: '/Tests/'
description: "Additional source-relative paths to ignore when generating code coverage reports."
with_tsan:
type: boolean
required: false
Expand Down Expand Up @@ -99,10 +94,10 @@ jobs:
run: |
SWIFT_DETERMINISTIC_HASHING=1 swift test ${PACKAGE_ROOT} ${TEST_FILTER} --enable-code-coverage ${EXTRA_FLAGS}
- name: Upload coverage data
uses: vapor/swift-codecov-action@v0.2
uses: vapor/swift-codecov-action@v0.3
with:
codecov_token: ${{ secrets.CODECOV_TOKEN || '' }}
package_path: ${{ inputs.package_root }}
ignore_paths: ${{ inputs.coverage_ignores }}
build_parameters: ${{ inputs.extra_flags }}

gh-codeql:
Expand Down

0 comments on commit afbd56c

Please sign in to comment.