Skip to content

Commit

Permalink
ci: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lovetodream authored Apr 22, 2024
1 parent 17c2fa6 commit 7551a98
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@ on:

jobs:
soundness:
name: Soundness Checks
container:
image: swift:5.9-jammy

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Run soundness
run: |
scripts/soundness.sh
exit $(git status --porcelain | wc -l)
scripts/soundness.sh
exit $(git status --porcelain | wc -l)
tests:
container:
Expand Down Expand Up @@ -43,12 +46,12 @@ jobs:
XCT_LOKI_URL: http://loki:3100
- name: Prepare Code Coverage
run: |
llvm-cov export -format="lcov" \
.build/debug/swift-log-lokiPackageTests.xctest \
-instr-profile .build/debug/codecov/default.profdata \
-ignore-filename-regex="\.pb\.swift" \
-ignore-filename-regex="\/Tests\/" \
> info.lcov
llvm-cov export -format "lcov" \
.build/debug/swift-log-lokiPackageTests.xctest \
-ignore-filename-regex="\.pb\.swift" \
-ignore-filename-regex="\/Tests\/" \
-instr-profile .build/debug/codecov/default.profdata \
> info.lcov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 7551a98

Please sign in to comment.