Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Jul 1, 2024
1 parent 4abe038 commit edb6d20
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,30 @@ env:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

jobs:
macOS:
runs-on: macOS-13
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Test
run: swift test --enable-code-coverage
- name: Convert coverage files
run: |
xcrun llvm-cov export -format="lcov" \
.build/debug/soto-cognito-authentication-kitPackageTests.xctest/Contents/MacOs/soto-cognito-authentication-kitPackageTests \
-ignore-filename-regex="(\/\.build\/|\/Tests\/)" \
-instr-profile .build/debug/codecov/default.profdata > info.lcov
- name: Upload to codecov.io
uses: codecov/codecov-action@v1
with:
file: info.lcov
# macOS:
# runs-on: macOS-13
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Test
# run: swift test --enable-code-coverage
# - name: Convert coverage files
# run: |
# xcrun llvm-cov export -format="lcov" \
# .build/debug/soto-cognito-authentication-kitPackageTests.xctest/Contents/MacOs/soto-cognito-authentication-kitPackageTests \
# -ignore-filename-regex="(\/\.build\/|\/Tests\/)" \
# -instr-profile .build/debug/codecov/default.profdata > info.lcov
# - name: Upload to codecov.io
# uses: codecov/codecov-action@v1
# with:
# file: info.lcov

linux:
strategy:
matrix:
image:
- swift:5.8
- swift:5.9
- swift:5.10
- swiftlang/swift:nightly-6.0-jammy
runs-on: ubuntu-latest
container:
image: ${{ matrix.image }}
Expand Down

0 comments on commit edb6d20

Please sign in to comment.