-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: separated job with special integration tests (#1704)
This fixes also issue with minikube. If started twice in a job, it causes issues.
- Loading branch information
Showing
2 changed files
with
18 additions
and
4 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 |
---|---|---|
|
@@ -30,7 +30,7 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Setup Minikube-Kubernetes | ||
uses: manusa/[email protected].1 | ||
uses: manusa/[email protected].2 | ||
with: | ||
minikube version: v1.25.2 | ||
kubernetes version: v1.23.6 | ||
|
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 |
---|---|---|
|
@@ -46,16 +46,30 @@ jobs: | |
java-version: ${{ matrix.java }} | ||
cache: 'maven' | ||
- name: Set up Minikube | ||
uses: manusa/[email protected].1 | ||
uses: manusa/[email protected].2 | ||
with: | ||
minikube version: 'v1.26.0' | ||
kubernetes version: ${{ matrix.kubernetes }} | ||
driver: 'docker' | ||
github token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Run integration tests | ||
run: ./mvnw ${MAVEN_ARGS} -B package -P no-unit-tests --file pom.xml | ||
- name: Adjust Minikube Min Request Timeout Setting | ||
uses: manusa/[email protected] | ||
special_integration_tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java: [ 11, 17 ] | ||
kubernetes: [ 'v1.22.15', 'v1.23.12', 'v1.24.6', 'v1.25.2' ] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Java and Maven | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: temurin | ||
java-version: ${{ matrix.java }} | ||
cache: 'maven' | ||
- name: Minikube Min Request Timeout Setting | ||
uses: manusa/[email protected] | ||
with: | ||
minikube version: 'v1.26.0' | ||
kubernetes version: ${{ matrix.kubernetes }} | ||
|