-
-
Notifications
You must be signed in to change notification settings - Fork 110
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: MacOS arm64/x86_64 + Dockerfile #416
Conversation
hmmm 🤔 publish is failing. Either PACT_BROKER_TOKEN secret is out of date (plausible) or is inaccessible via PR workflow, via fork. Might need to disable the examples, or conditionally only publish pact (and run the pact tests which require a broker to verify), on source builds, and skip on fork based PR's |
Kicked off a build on a branch in this repo, rather than a fork https://github.com/pact-foundation/pact-go/actions/runs/8991563189 Skipping all the e2e tests from a fork based workflows is a big 🔨 , but easy to implement in a gh workflow (only run if repo owner is pact-foundation) but misses running alot of the tests. Maybe just tagging broker based tests and running them separately would make it easy for contributor to run most of the examples on their machine or via CI, without having to worry about setting up a pact broker which is externally available for all platforms. We could avoid using a hosted pact broker in GHA, if we could just run a local pact broker via ruby directly |
- linux arm64 / macos amd64 + arm64 - golang 1.20.x / 1.21.x / 1.22.x
- linux arm64 / macos amd64 + arm64 - golang 1.20.x / 1.21.x / 1.22.x
Additional tested CI platforms
macos-12
runnermacos-latest
runnerConsiderations
Some environments do not have access to Docker, which affects running examples
Necessary amendments made via
GoLang version updates
-race
enabled on platforms, so these have been added withexperimental: true
to allow these to be tested, but not impede green builds for the moment. Hopefully fixed in a later GoLang release. Relates to Runtime error occurs with golang 1.22.x #402linux/amd64
macos/amd64
SKIP_RACE
to test without-race
setPlugins
SKIP_PLUGINS
SKIP_PLUGIN_AVRO
Yak shaves