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

Create CI #2

Merged
merged 5 commits into from
Nov 10, 2024
Merged

Create CI #2

merged 5 commits into from
Nov 10, 2024

Conversation

dfed
Copy link
Collaborator

@dfed dfed commented Nov 10, 2024

No description provided.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
Comment on lines 19 to 20
run: |
xcrun swift test -c release --enable-code-coverage -Xswiftc -enable-testing
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have permissions to set up Codecov in this repo so I didn't set that up. We’ll Get There™

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#6

- name: Checkout Repo
uses: actions/checkout@v4
- name: Build and Test Framework
run: swift test -c release --enable-code-coverage -Xswiftc -enable-testing
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is becoming a habit of mine in open source libs: test in release!

makes things a bit slower in CI but I have caught a few esoteric issues this way.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

though testing in release on macOS yields an error executing the CLI, which... I don't get why. works on linux at least.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh interesting! I've never thought about testing in release. Let's try it out!

@dfed dfed self-assigned this Nov 10, 2024
@dfed dfed requested a review from fdiaz November 10, 2024 16:39
@dfed dfed marked this pull request as ready for review November 10, 2024 16:39
@dfed dfed merged commit be64ea7 into main Nov 10, 2024
3 checks passed
@fdiaz fdiaz deleted the dfed--ci branch November 13, 2024 17:18
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.

2 participants