Only run integration tests if integration bucket is configured #444
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
name: Service CI | |
on: | |
push: | |
branches-ignore: | |
- gh-pages | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: ubuntu:22.04 | |
steps: | |
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
cache: 'maven' | |
env: | |
# work around an issue with actions/runner setting an incorrect HOME in containers, which breaks maven caching | |
# https://github.com/actions/setup-java/issues/356 | |
HOME: /root | |
- name: Build with Maven | |
run: ./mvnw -e -B verify |