Skip to content

Run swift linux tests in docker container#52

Merged
mattmassicotte merged 2 commits intoChimeHQ:mainfrom
germ-network:fix/instability-in-linux-tests
Mar 10, 2026
Merged

Run swift linux tests in docker container#52
mattmassicotte merged 2 commits intoChimeHQ:mainfrom
germ-network:fix/instability-in-linux-tests

Conversation

@ThisIsMissEm
Copy link
Copy Markdown
Contributor

I was seeing too much instability in #50 with regards to the linux tests, due to the vapor/swiftly-action needing to install dependencies on ubuntu, which was randomly failing.

As a way to sidestep that issue, we can actually use the swift docker images to run these tests: https://hub.docker.com/_/swift/tags

This removes the need to install any ubuntu dependencies required to install swiftly, and gives a reproducible environment to run the tests in.

Comment on lines +51 to +53
- "6.1"
- "6.2"
- "latest"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Quoting here is actually recommended, since someone unknowningly adding 6.0 or similar would end up with the tests running on swift 6 due to yaml's handling of float values.

@mattmassicotte
Copy link
Copy Markdown
Contributor

I was seeing a lot of instability too, but that's uncommon. I think it could have been on the Github side. However, that said, this approach is actually super interesting! I've not encountered it before and I like it.

Thank you!

@mattmassicotte mattmassicotte merged commit 75a20b6 into ChimeHQ:main Mar 10, 2026
9 checks passed
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