diff --git a/.github/workflows/lth-docker.yml b/.github/workflows/lth-docker.yml index e0c012c4..43387e16 100644 --- a/.github/workflows/lth-docker.yml +++ b/.github/workflows/lth-docker.yml @@ -6,6 +6,10 @@ on: PRO_LICENSE_KEY: description: 'Liquibase Pro license key' required: true + inputs: + version: + description: 'Version of Docker Database to test' + required: false jobs: liquibase-test-harness: @@ -34,17 +38,17 @@ jobs: - name: Build with Maven # Build the code with Maven (skip tests) run: mvn -ntp -Dmaven.test.skip package - - name: Run ${{ matrix.liquibase-support-level }} Liquibase Test Harness # Run the Liquibase test harness at each test level + - name: Run ${{ matrix.liquibase-support-level }} Liquibase Test Harness ${{ inputs.version }} # Run the Liquibase test harness at each test level continue-on-error: true # Continue to run the action even if the previous steps fail env: LIQUIBASE_PRO_LICENSE_KEY: ${{ secrets.PRO_LICENSE_KEY }} # Set the environment variable for the Liquibase Pro license key - run: mvn -ntp -Dtest=${{ matrix.liquibase-support-level }}ExtensionHarnessSuite test # Run the Liquibase test harness at each test level + run: mvn -ntp -DdbVersion=${{ inputs.version }} -Dtest=${{ matrix.liquibase-support-level }}ExtensionHarnessSuite test # Run the Liquibase test harness at each test level - name: Test Reporter # Generate a test report using the Test Reporter action uses: dorny/test-reporter@v1.6.0 if: always() # Run the action even if the previous steps fail with: - name: Liquibase Test Harness - ${{ matrix.liquibase-support-level }} Reports # Set the name of the test report + name: Liquibase Test Harness - ${{ matrix.liquibase-support-level }} Reports ${{ inputs.version }} # Set the name of the test report path: target/surefire-reports/TEST-*.xml # Set the path to the test report files reporter: java-junit # Set the reporter to use fail-on-error: false # Set fail-on-error to false to show report even if it has failed tests