Merge tag 'v2.2.2' into develop #152
This file contains hidden or 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
name: Tests | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ 21 ] | |
kubernetes: | |
- 'v1.30.11' | |
- 'v1.31.7' | |
- 'v1.32.3' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: temurin | |
- name: Cache Maven packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Setup Minikube | |
uses: manusa/[email protected] | |
with: | |
minikube version: 'v1.33.0' | |
kubernetes version: ${{ matrix.kubernetes }} | |
github token: ${{ secrets.GITHUB_TOKEN }} | |
container runtime: containerd | |
driver: docker | |
- name: Pull images | |
run: | | |
minikube image pull openanalytics/shinyproxy-integration-test-app | |
minikube image pull curlimages/curl:latest | |
- name: Build with Maven | |
run: mvn -B -U clean install -DskipTests | |
- name: Run Tests | |
run: | | |
docker network create sp-shared-network | |
docker plugin install "grafana/loki-docker-driver:3.2.1" --alias loki --grant-all-permissions | |
export SPO_DOCKER_GID=$(getent group docker | cut -d: -f3) | |
mvn -B test |