Skip to content

Commit

Permalink
integration tests with maven
Browse files Browse the repository at this point in the history
  • Loading branch information
octonato authored and raboof committed Apr 26, 2021
1 parent b10de52 commit 60634f5
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/integration-tests-maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Integration test for Kubernetes API with Maven

on:
pull_request:
push:
branches:
- master
- release-*
tags-ignore: [ v.* ]
# Different than its sibilings, we don't configure this workflow to run as a cron job.
# The cron build compiles against Akka 2.6 and Akka HTTP 10.2, but the Maven example uses 2.5 and 10.1
# see https://github.com/akka/akka-management/issues/744

jobs:
integration-test:
name: Integration Tests for Kubernetes API with Maven
runs-on: ubuntu-18.04
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Checkout GitHub merge
if: github.event.pull_request
run: |-
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
git checkout scratch
- name: Set up JDK [email protected]
uses: olafurpg/setup-scala@v10
with:
java-version: [email protected]

- name: Cache Coursier cache
uses: coursier/cache-action@v5

- name: Start docker
run: |-
./scripts/setup-minikube-for-linux.sh
./integration-test/kubernetes-api-java/test.sh
- name: Print logs on failure
if: ${{ failure() }}
run: find . -name "*.log" -exec ./scripts/cat-log.sh {} \;

0 comments on commit 60634f5

Please sign in to comment.