Skip to content

Add testcontainers-lifecycle-examples project. #9

Add testcontainers-lifecycle-examples project.

Add testcontainers-lifecycle-examples project. #9

name: 'testcontainers lifecycle examples'
on: [push]
env:
JAVA_VERSION: '17'
jobs:
testcontainers-lifecycle-examples:
name: testcontainers lifecycle examples
if: github.event.inputs.trigger == ''
|| !startsWith(github.event.inputs.trigger, 'm')
|| !startsWith(github.event.inputs.trigger, 'M')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
# 'temurin' 'zulu' 'adopt' 'adopt-hotspot' 'adopt-openj9' 'liberica' 'microsoft'
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-
- run: cd $GITHUB_WORKSPACE && ./mvnw -f testcontainers-lifecycle-examples