-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): split integration tests execution by category (#2548)
* feat(build): split ITs by category, parallel CRD generation Also avoid generating CRDs when not needed by default, summarizes test results. * chore(deps): bump actions-setup-minikube to 2.13.0 * feat: default to use vertx client * chore(ci): reduce tested combinations, only run client tests on baseapi * fix: increase deletion timeout --------- Signed-off-by: Chris Laprun <claprun@redhat.com>
- Loading branch information
Showing
9 changed files
with
196 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Build | ||
|
||
env: | ||
MAVEN_ARGS: -V -ntp -e | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
integration_tests: | ||
strategy: | ||
matrix: | ||
java: [ 17, 21 ] | ||
kubernetes: [ 'v1.28.14', 'v1.29.9','1.30.5', '1.31.1' ] | ||
it-category: [ 'baseapi', 'dependent', 'workflow' ] | ||
uses: ./.github/workflows/integration-tests.yml | ||
with: | ||
java-version: ${{ matrix.java }} | ||
kube-version: ${{ matrix.kubernetes }} | ||
it-category: ${{ matrix.it-category }} | ||
|
||
http_client_tests: | ||
strategy: | ||
matrix: | ||
java: [ 17, 21 ] | ||
kubernetes: [ 'v1.28.14', 'v1.29.9','1.30.5', '1.31.1' ] | ||
it-category: [ 'baseapi' ] | ||
httpclient: [ 'vertx', 'jdk', 'jetty' ] | ||
uses: ./.github/workflows/integration-tests.yml | ||
with: | ||
java-version: ${{ matrix.java }} | ||
kube-version: ${{ matrix.kubernetes }} | ||
it-category: ${{ matrix.it-category }} | ||
http-client: ${{ matrix.httpclient }} | ||
|
||
special_integration_tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java: [ 17, 21 ] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Java and Maven | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: temurin | ||
java-version: ${{ matrix.java }} | ||
- name: Run Special Integration Tests | ||
run: ./mvnw ${MAVEN_ARGS} -B package -P minimal-watch-timeout-dependent-it --file pom.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.