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

make GitHubActions also run tests for netstd #2995

Closed
wants to merge 4 commits into from

Conversation

SvenRoederer
Copy link
Contributor

@SvenRoederer SvenRoederer commented Jul 6, 2024

Add a job to build and run tests for netstd. Also upload the binaries as artifact.
This gives basic testing, but leaves including to cross-test for the future.

Most job-steps are copied from the other jobs.

In relation to #2994 it already uses artifact-action v4 and ubuntu-22.04 (ubuntu-20.04 has issues with dotnet-support).

Build and test the netstd library so there is some basic testing.
V3 is based on Node.js v16 and will get deprecated. Currently it's just causing a warning.

With v4 the artifact-upload action fails as all matrix-jobs use the same name and the
default prevents overwriting existing ones. Therefore we use individual artifact names
which will also preserve all logs, not just a singe one only.

Cherry-picked from PR apache#2994 to avoid incompatibility between v3 and v4 in same workflow.
@Jens-G Jens-G added the github_actions Pull requests that update GitHub Actions code label Jul 6, 2024
@SvenRoederer
Copy link
Contributor Author

This change was made to run tests for #2993 issue (which only affects v0.20.0) and therefore base on v0.20 branch. The current PR also relies on some changes of #2994 ans it should probably merged after it.
If it's more convenient to merge this PR before #2994 I can update it to apply on master directly as a single commit with linear history.

@Jens-G
Copy link
Member

Jens-G commented Jul 10, 2024

@SvenRoederer could you send another PR with the added tests only targeting master branch?

@SvenRoederer
Copy link
Contributor Author

Closing, to send an updated PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code
2 participants