Skip to content

Commit

Permalink
ci: avoid building twice
Browse files Browse the repository at this point in the history
The same reason as kkebo/zyphy#91
  • Loading branch information
kkebo committed Jun 16, 2024
1 parent d3473d1 commit 321d970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
restore-keys: |
${{ runner.os }}-spm-
- run: swift --version
- run: swift build
- run: swift test --disable-xctest --enable-code-coverage --no-parallel
- run: swift build --build-tests --disable-xctest --enable-code-coverage
- run: swift test --skip-build --disable-xctest --enable-code-coverage --no-parallel
- run: llvm-cov export -format="lcov" .build/debug/swift-boxPackageTests.swift-testing -instr-profile .build/debug/codecov/default.profdata -ignore-filename-regex=".build|Tests" > coverage_report.lcov
- uses: k1LoW/octocov-action@v1
lint:
Expand Down

0 comments on commit 321d970

Please sign in to comment.