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

Ci/test x plat #351

Closed
wants to merge 8 commits into from
Closed

Ci/test x plat #351

wants to merge 8 commits into from

Conversation

YOU54F
Copy link
Member

@YOU54F YOU54F commented Oct 2, 2023

This PR address lint errors introduced by #347

Also looks to test the Pact Go V2 project on windows and macos in GHA, and on arm64 hardware for linux/macos.

This also recreates the issue noted in #345 and goes some way towards #297

I need to pull out the changes from 9738a2b but just thought I would stick this as a draft, in case people are wondering the golang-lintci is failing

io/ioutil deprecated and replaced with io or os

https://pkg.go.dev/io/ioutil\#TempDir

deprecation, now uses os.MkTmpDir

add ci testing for macOS and windows
Makefile - support exe ext for plugin cli on win
macOS - set install_name_tool to full path
requires java 17, try with actions
add x-arch tests
@coveralls
Copy link

Coverage Status

coverage: 37.197%. remained the same when pulling fc7f790 on ci/test_x_plat into 7ab5fc4 on master.

@YOU54F
Copy link
Member Author

YOU54F commented Oct 2, 2023

ps. failing tests in cirrus ci (and cirrus cli locally) but everything passing on my local mac and also passing on GHA so 🤷🏾‍♂️


linux_arm64_task:
env:
SKIP_PLUGIN_AVRO: "true"
Copy link
Member

Choose a reason for hiding this comment

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

I'm assuming this (and related references) was put in the "do it later" basket?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah avro was failing, needs java plus other yaks.

@@ -57,3 +57,25 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true

test-other-os:
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason why you didn't just merge this into the test job above?

This doesn't run the examples, but just the tests from what I can see (which is probably fine, if we ever build the compatibility suite for proper feature regression testing).

Copy link
Member Author

Choose a reason for hiding this comment

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

Thought

  1. try and get build and unit tests working first x plat
  2. then move onto examples
    • consider examples as 2nd class compared to main code that is currently untested in CI x-plat

not sure how yaks we would need to end up shaving to get this working, so thought I would just create a seperate job to check whats needed for these non linux os's, and then could roll everything back together intro one job

Copy link
Member

Choose a reason for hiding this comment

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

Cool, I thought so. It's better than where we were, but just wanted to clarify.

@YOU54F
Copy link
Member Author

YOU54F commented May 7, 2024

round 2 in #416

@YOU54F YOU54F closed this May 7, 2024
@YOU54F YOU54F deleted the ci/test_x_plat branch June 17, 2024 23:30
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.

3 participants