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 GH Action test matrix for OS/netty/transport #870

Merged
merged 3 commits into from
Oct 25, 2019

Conversation

simonbasle
Copy link
Contributor

@simonbasle simonbasle commented Oct 16, 2019

This workflow and build changes allow to:

  1. execute tests on all 3 OS
  2. execute tests using both NIO and native transport (epoll/kqueue) on each OS
  3. execute tests using 3 different versions of netty for each OS+transport pair

The 3 netty versions are only relevant while #844 is open. In the future this should be switched to default+snapshot, to run tests with netty snapshots.

Note that kqueue has a publication issue (see comment in netty/netty#8100, might need to open another issue for visibility since this one was closed) so all snapshots aren't available, this case should be excluded from the build matrix if relevant.

@simonbasle simonbasle added status/need-triage A new issue that still need to be evaluated as a whole type/chore A task not related to code (build, formatting, process, ...) labels Oct 16, 2019
@simonbasle simonbasle force-pushed the testNativeTransports branch from c7aa76e to ae031b2 Compare October 22, 2019 15:55
@violetagg violetagg removed the status/need-triage A new issue that still need to be evaluated as a whole label Oct 25, 2019
Copy link
Member

@violetagg violetagg left a comment

Choose a reason for hiding this comment

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

Please adapt to the latest changes
Let's use release + snapshot for the Netty versions
Merge with the existing GitHub actions configuration file

@simonbasle simonbasle force-pushed the testNativeTransports branch 2 times, most recently from b55d62a to 1d58126 Compare October 25, 2019 09:01
By using the Gradle property `forceNettyVersion`, one can select an
arbitrary version of Netty, eg. to run tests with the latest snapshots
in CI in parallel to the current release.

Snapshot repository for Netty is also added in case the current reactor
version is a snapshot itself.
The `forceTranport` property can be used to choose between `nio` and
`native` when running Gradle tasks like tests. This allows to select
the underlying transport to active, eg. when running a test matrix in
CI.
This Action performs tests (clean check) in all three OS using NIO,
plus an additional run with epoll on Linux and an additional run with
KQueue on OSX.

It replaces the former Java CI action.
@simonbasle simonbasle force-pushed the testNativeTransports branch from 1d58126 to 92e8265 Compare October 25, 2019 10:02
@violetagg violetagg merged commit df8eb1a into master Oct 25, 2019
@violetagg violetagg added this to the 0.9.1.RELEASE milestone Oct 25, 2019
@violetagg violetagg deleted the testNativeTransports branch October 25, 2019 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/chore A task not related to code (build, formatting, process, ...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants