Skip to content

CI IT Database

CI IT Database #109

Workflow file for this run

name: CI IT Database
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'
jobs:
test:
name: DB IT on ${{ matrix.group }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# group: [mariadb, mssql, postgres] // let's move mssql to pro tests along with Oracle
group: [mariadb, postgres]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'liberica'
- uses: jvalkeal/setup-maven@v1
with:
maven-version: 3.8.8
maven-mirror: 'https://dlcdn.apache.org/maven/maven-3/'
- name: 'Action: Run Db IT'
run: |
mvn \
-s .settings.xml \
-pl spring-cloud-dataflow-server \
-Dgroups=${{ matrix.group }} \
-Pfailsafe \
--batch-mode \
integration-test \
verify
- name: 'Action: Upload Unit Test Results'
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.group }}-test-results-surefire
path: './**/target/surefire-reports/**/*.*'
retention-days: 7
if-no-files-found: ignore
- name: 'Action: Upload Integration Test Results'
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.group }}-test-results-failsafe
path: './**/target/failsafe-reports/**/*.*'
retention-days: 7
if-no-files-found: ignore