Skip to content

Commit

Permalink
Merge DB test jobs into one with a matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Feb 20, 2024
1 parent 4f5ce9f commit 7b9331b
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,37 +52,20 @@ jobs:
with:
test-group: api

sqlite-db-tests:
uses: './.github/workflows/ci-db-tests.yml'
with:
platform: 'sqlite:ci'

mysql-db-tests:
uses: './.github/workflows/ci-db-tests.yml'
with:
platform: 'mysql'

maria-db-tests:
uses: './.github/workflows/ci-db-tests.yml'
with:
platform: 'maria'

postgres-db-tests:
uses: './.github/workflows/ci-db-tests.yml'
with:
platform: 'postgres'

ms-db-tests:
db-tests:
strategy:
matrix:
platform: ['sqlite:ci', 'mysql', 'maria', 'postgres', 'ms']
uses: './.github/workflows/ci-db-tests.yml'
with:
platform: 'ms'
platform: ${{ matrix.platform }}

upload-coverage:
needs:
- unit-tests
- api-tests
- cli-tests
- sqlite-db-tests
- db-tests
runs-on: ubuntu-22.04
strategy:
matrix:
Expand Down

0 comments on commit 7b9331b

Please sign in to comment.