Skip to content

Merge pull request #261 from paultuckey/5.1-docs #79

Merge pull request #261 from paultuckey/5.1-docs

Merge pull request #261 from paultuckey/5.1-docs #79

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package
- name: Locally install filter
run: mvn install --batch-mode -Dgpg.skip
- name: Locally install example
working-directory: container-test/example-webapp
run: mvn install --batch-mode
- name: Run container tests
working-directory: container-test/test-with-testcontainers
run: mvn test --batch-mode
# - uses: actions/upload-artifact@v3
# with:
# name: Package
# path: staging