Skip to content

Commit

Permalink
optimize build step
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBM committed Jan 5, 2025
1 parent 664c04d commit 93192c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mmbm-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
restore-keys: "swiftpm-build-${{ runner.os }}-"

- name: Build package
run: swift build
run: swift build --build-tests --enable-code-coverage

- name: Cache .build
if: steps.restore-build.outputs.cache-hit != 'true'
Expand All @@ -35,6 +35,6 @@ jobs:
key: "swiftpm-build-${{ runner.os }}-${{ github.event.pull_request.base.sha || github.event.after }}"

- name: Run unit tests
run: swift test --enable-code-coverage
run: swift test --skip-build --enable-code-coverage

# Process the code coverage report, etc...

0 comments on commit 93192c9

Please sign in to comment.