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

feat: add github action #356

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open

feat: add github action #356

wants to merge 28 commits into from

Conversation

mxinden
Copy link
Contributor

@mxinden mxinden commented Feb 24, 2024

Add GitHub action to be used by QUIC implementations to run the QUIC Interop Runner in their CI.

Add GitHub action to be used by QUIC implementations to run the QUIC Interop
Runner in their CI.
action.yml Outdated Show resolved Hide resolved
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This workflow will only execute once it is merged into master. In other words, once it is merged, a comment will appear on all future pull requests.

@mxinden mxinden marked this pull request as ready for review February 26, 2024 11:42
@mxinden
Copy link
Contributor Author

mxinden commented Mar 5, 2024

@marten-seemann can you give this pull request a review?

I would like to use this GitHub Action in Neqo as a first smoke-test to prevent regressions. See mozilla/neqo#1682. As it is today it could have caught mozilla/neqo#1676, mozilla/neqo#1627 and mozilla/neqo#1578. In addition, I plan to make some larger changes to Neqo's Interop binary (mozilla/neqo#1696, mozilla/neqo#1693). Instead of running the test manually on each iteration, this action would save me a lot of manual testing.

Mozilla has an allow-list for GitHub Actions (see mozilla/neqo#1682 (comment)). The process of allowing a new Action (e.g. this one), seems to take a bit (https://bugzilla.mozilla.org/show_bug.cgi?id=1883011).

In quic-go/quic-go#4339 (comment) you suggest parallelizing the testcase execution. I am not very familiar with the internals of the QUIC Interop Runner yet, but on a high level that sounds good to me.

Still, given that this action could already be helpful in Neqo and given that the Mozilla Action approval process takes a bit, would you be opposed to merging a first version of this action without additional features (e.g. parallelization)?


Edit: We decided to clone the action within mozilla/neqo for now (see mozilla/neqo#1682). Thus this just became less time critical.

mxinden added a commit to mxinden/neqo that referenced this pull request Mar 6, 2024
github-merge-queue bot pushed a commit to mozilla/neqo that referenced this pull request Mar 6, 2024
* feat(.github): run QUIC Interop Runner

Run the QUIC Interop Runner testcases on pull requests when entering the merge queue.

* Do not always construct comment

* Test for all pull requests to main

* Don't build arm64 on pull requests

* Use actions/download-artifact

* Provide client, server and test argument

* Fix action args

* Copy action into neqo repo

For now until quic-interop/quic-interop-runner#356 is merged.

* checkout

* yml

* introduce folder

* load image

* Only run interop on pull requests

* Remove pull_request path filter

* Trigger CI

* Cache Python deps

* Trigger CI to test python cache
@chipitsine
Copy link

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