From b1a78f15f0c5f7c02821978bec09325a56e5c3de Mon Sep 17 00:00:00 2001 From: vitalyster Date: Wed, 17 May 2023 02:06:21 +0300 Subject: CI: run all test profiles on a single job --- .github/workflows/ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afe0b26b..a6c73dbc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,9 +13,6 @@ jobs: current: runs-on: self-hosted timeout-minutes: 15 - strategy: - matrix: - profile: [default, postgres, mysql, sqlserver] services: postgres: image: postgres @@ -56,8 +53,14 @@ jobs: with: node-version: "18" - run: npm install - - name: Run tests - run: ./mvnw -P${{ matrix.profile }} clean package + - name: Run tests (H2) + run: ./mvnw -Pdefault clean package + - name: Run tests (PostgreSQL) + run: ./mvnw -Ppostgres clean package + - name: Run tests (MySQL) + run: ./mvnw -Pmysql clean package + - name: Run tests (SQL Server) + run: ./mvnw -Psqlserver clean package - uses: mikepenz/action-junit-report@v2 with: report_paths: "**/target/surefire-reports/TEST-*.xml" -- cgit v1.2.3