kkebo / zyphy

Zyphy is (or will be) a fast web browser engine written in Swift.
MIT License
4 stars 2 forks source link

ci: avoid building twice #91

Closed kkebo closed 3 months ago

kkebo commented 3 months ago

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:

github-actions[bot] commented 3 months ago

Code Metrics Report

main (dd58711) #91 (0058ad4) +/-
Coverage 85.1% 85.1% 0.0%
Details ``` diff | | main (dd58711) | #91 (0058ad4) | +/- | |-----------|----------------|---------------|------| | Coverage | 85.1% | 85.1% | 0.0% | | Files | 9 | 9 | 0 | | Lines | 1608 | 1608 | 0 | | Covered | 1369 | 1369 | 0 | ```

Reported by octocov

github-actions[bot] commented 3 months ago

Code Metrics Report

main (5ee2e28) #91 (014aa90) +/-
Coverage 85.1% 85.1% 0.0%
Details ``` diff | | 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