diff options
author | vitalyster | 2023-05-17 02:06:21 +0300 |
---|---|---|
committer | GitHub | 2023-05-17 02:06:21 +0300 |
commit | b1a78f15f0c5f7c02821978bec09325a56e5c3de (patch) | |
tree | ec03da710e082a1c3f5b607dbbb5dd22db0d6a88 | |
parent | 852ee0136f5ebdb51388e8c39a25df58b66d5e33 (diff) |
CI: run all test profiles on a single job
-rw-r--r-- | .github/workflows/ci.yml | 13 |
1 files changed, 8 insertions, 5 deletions
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" |