Skip to content

Commit

Permalink
Update codecov uploader
Browse files Browse the repository at this point in the history
## Changes

- Codecov has deprecated the old bash script, so we need to update our
CI to use the new uploader.
  • Loading branch information
p4checo committed Jan 2, 2023
1 parent 9cae850 commit 9c6fe45
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
WORKSPACE: Alicerce.xcworkspace
SCHEME: Alicerce
DERIVED_DATA_PATH: build
RESULT_BUNDLE_PATH: build-test.xcresult
steps:
- name: git checkout
uses: actions/checkout@v2
Expand All @@ -53,10 +54,15 @@ jobs:
-destination "$IOS_DESTINATION" \
-derivedDataPath "$DERIVED_DATA_PATH" \
-enableCodeCoverage YES \
-resultBundlePath "$RESULT_BUNDLE_PATH" \
| xcbeautify
- name: codecov upload
run: bash <(curl -s https://codecov.io/bash) -D $DERIVED_DATA_PATH -J "^$SCHEME$"
uses: codecov/codecov-action@v3
with:
xcode: true
xcode_archive_path: ${{ env.RESULT_BUNDLE_PATH }}
verbose: true

swiftpm:
name: SwiftPM Build
Expand Down

0 comments on commit 9c6fe45

Please sign in to comment.