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

chore: add macOS and Windows tests #7

Closed
wants to merge 3 commits into from
Closed

chore: add macOS and Windows tests #7

wants to merge 3 commits into from

Conversation

fortuna
Copy link
Contributor

@fortuna fortuna commented Apr 28, 2023

This is to make sure we stay cross-platform.

Note that the Windows build and test is a lot slower than Linux and Windows. Because of that, I had to change the wait in one of the tests.

Also, I'm using windows-2019, which is at least 2x faster than windows-latest: actions/runner-images#5166

On macOS, I ran into an issue where CloseRead on a connection that was already fully read causes an error, so I needed to update the test there too. It was a huge pain to figure out what was going on.

@fortuna fortuna changed the title Add macOS tests chore: add macOS and Windows tests Apr 29, 2023
Enable macOS tests

Add TODO

Try Windows

Fix job name

Use setup-go@v4

Read Go version from go.mod

Add CWD

Fix go-version-file

Use ./go.mod

Use  github.workspace

Reorder

Spaces

Remove cwd

Try CD

Test

Again

Again

Use localhost IP

Add bench

Refactor test

Add bench

Again

Re-enable
@fortuna fortuna requested a review from jyyi1 April 29, 2023 22:01
@fortuna fortuna marked this pull request as ready for review April 29, 2023 22:01
@fortuna
Copy link
Contributor Author

fortuna commented Apr 30, 2023

I replaced this PR with #8, which uses the new APIs from #6.

@fortuna fortuna closed this Apr 30, 2023
@fortuna fortuna deleted the fortuna-os branch October 26, 2023 22:34
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