Skip to content

Commit

Permalink
fix: separated job with special integration tests (#1704)
Browse files Browse the repository at this point in the history
This fixes also issue with minikube. If started twice in a job, it causes issues.
  • Loading branch information
csviri authored Jan 5, 2023
1 parent 2bf0f00 commit 2fee15d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 17 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 2fee15d

Please sign in to comment.