Bump org.liquibase:liquibase-parent-pom from 0.3.9 to 0.4.0 #55
Workflow file for this run
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: Build and Test | |
on: | |
workflow_dispatch: | |
pull_request_target: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
authorize: | |
environment: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }} | |
runs-on: ubuntu-latest | |
steps: | |
- run: true | |
build-test: | |
needs: authorize | |
uses: liquibase/build-logic/.github/workflows/[email protected] | |
secrets: inherit | |
integration-test: | |
needs: authorize | |
name: Test Harness for Teradata ${{ matrix.teradata }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
teradata: [ "" ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Build Cache | |
uses: actions/[email protected] | |
with: | |
key: build-${{ github.run_number }}-${{ github.run_attempt }} | |
path: | | |
**/target/** | |
~/.m2/repository/org/liquibase/ | |
- name: Run Tests | |
run: mvn -B jacoco:prepare-agent surefire:test -Dteradata.version=${{ matrix.teradata }} | |
- name: Archive Test Results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-reports-teradata-${{ matrix.teradata }} | |
path: | | |
**/target/surefire-reports | |
**/target/jacoco.exec | |
dependabot-automerge: | |
needs: build-test | |
uses: liquibase/build-logic/.github/workflows/[email protected] | |
secrets: inherit |