Skip to content

Commit

Permalink
ci: fix DB_URL, set fail-fast option to false
Browse files Browse the repository at this point in the history
  • Loading branch information
fityannugroho committed Aug 10, 2024
1 parent 296e975 commit 448350d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
runs-on: ubuntu-latest

strategy:
# Don't cancel all the jobs if one of them fails
fail-fast: false
matrix:
node-version: [18, 20]
db: [postgresql, mysql]
Expand Down Expand Up @@ -53,7 +55,7 @@ jobs:

env:
DB_PROVIDER: ${{ matrix.db }}
DB_URL: ${{ format('{0}://{1}:{2}/{3}', matrix.db, matrix.db-username, secrets.DB_PASSWORD, matrix.db-port, 'testdb') }}
DB_URL: ${{ format('{0}://{1}:{2}@db:{3}/{4}', matrix.db, matrix.db-username, secrets.DB_PASSWORD, matrix.db-port, 'testdb') }}

steps:
- name: Checkout code
Expand Down

0 comments on commit 448350d

Please sign in to comment.