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: avoid building twice #91

Merged
merged 1 commit into from
Jun 17, 2024
Merged

ci: avoid building twice #91

merged 1 commit into from
Jun 17, 2024

Conversation

kkebo
Copy link
Owner

@kkebo kkebo commented Jun 11, 2024

Normally, both swift build and swift test build source code. This is a waste of time. To resolve it, I've changed the CI scripts so that only swift build builds source code and swift test just runs a test executable.

references:

@kkebo kkebo self-assigned this Jun 11, 2024
@kkebo kkebo force-pushed the avoid-building-twice branch 2 times, most recently from 95be600 to 4df0d20 Compare June 11, 2024 12:24

This comment has been minimized.

kkebo added a commit to kkebo/swift-box that referenced this pull request Jun 11, 2024
kkebo added a commit to kkebo/swift-box that referenced this pull request Jun 16, 2024
Normally, both `swift build` and `swift test` build source code. This is a waste of time. To resolve it, I've changed the CI scripts so that only `swift build` builds source code and `swift test` just runs a test executable.
Copy link
Contributor

Code Metrics Report

main (5ee2e28) #91 (014aa90) +/-
Coverage 85.1% 85.1% 0.0%
Details
  |           | main (5ee2e28) | #91 (014aa90) | +/-  |
  |-----------|----------------|---------------|------|
  | Coverage  |          85.1% |         85.1% | 0.0% |
  |   Files   |              9 |             9 |    0 |
  |   Lines   |           1608 |          1608 |    0 |
  |   Covered |           1369 |          1369 |    0 |

Reported by octocov

@kkebo kkebo merged commit b9d5faf into main Jun 17, 2024
2 checks passed
@kkebo kkebo deleted the avoid-building-twice branch June 17, 2024 15:25
kkebo added a commit to kkebo/swift-box that referenced this pull request Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant