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

Add github actions tests #557

Merged
merged 1 commit into from Jan 9, 2023

Conversation

dashpole
Copy link
Contributor

@dashpole dashpole commented Jan 6, 2023

Part of #554

This keeps all of the individual steps the same, but instead of running make ci, like we do in circleci, it runs each step (generate, build, lint, fixtures, check-clean-work-tree) as a separate step.

It also expands the compatibility matrix we test against to match what the opentelemetry-go repo uses to include testing against two go versions (1.19 and 1.18), testing on linux, windows, and mac.

It also adopts gocovmerge (github.com/wadey/gocovmerge) to properly merge code coverage reports from each module into a single one.

Tests are based on the github actions tests in opentelemetry-go.

After this, I will change the required tests in the repo, and then open a follow-up to remove circleci

@dashpole dashpole marked this pull request as ready for review January 6, 2023 23:23
@dashpole dashpole force-pushed the github_actions branch 3 times, most recently from 6820761 to 45bf1c2 Compare January 9, 2023 15:28
@dashpole
Copy link
Contributor Author

dashpole commented Jan 9, 2023

See dashpole#1 for the tests running on github actions.

@dashpole
Copy link
Contributor Author

dashpole commented Jan 9, 2023

This is now ready for review.

@dashpole dashpole requested a review from damemi January 9, 2023 15:46
@dashpole dashpole merged commit 42d2ee6 into GoogleCloudPlatform:main Jan 9, 2023
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.

None yet

2 participants