Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Update swift-code-coverage.yml and drop swift 5.8 build #280

Merged
merged 24 commits into from
Oct 14, 2024
Merged
Changes from 17 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/swift-code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: NeedleInAJayStack/setup-swift@feat/swift-6
with:
swift-version: "5.10"

- name: Ubuntu deps
if: ${{ runner.os == 'Linux' }}
run: |
Expand All @@ -35,12 +39,16 @@ jobs:
fi

if [ -f ${xctest_binary} ]; then
llvm-cov-15 export -format="lcov" ${xctest_binary} -instr-profile .build/debug/codecov/default.profdata > info.lcov
llvm-cov export -format="lcov" ${xctest_binary} -instr-profile .build/debug/codecov/default.profdata > info.lcov
fi

- name: Upload codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_REPO_TOKEN }}
#token: ${{ secrets.CODECOV_REPO_TOKEN }}
#version: v0.7.3
files: info.lcov
fail_ci_if_error: true
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_REPO_TOKEN }}
Loading