Skip to content

Commit

Permalink
ci: fix compose command
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Apr 1, 2024
1 parent ce830fb commit 180a467
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,25 @@ jobs:
run: npm ci

- name: Start containers for ${{ matrix.adapter }} adapter
run: docker-compose up mongo -d
run: docker-compose up -d mongo && sleep 30
if: ${{ matrix.adapter == 'MongoDB' }}
working-directory: ./test

- name: Start containers for ${{ matrix.adapter }} adapter
run: docker-compose up postgres -d
run: docker-compose up -d postgres && sleep 30
if: ${{ matrix.adapter == 'Knex-Postgresql' }}
working-directory: ./test

- name: Start containers for ${{ matrix.adapter }} adapter
run: docker-compose up mysql -d
run: docker-compose up -d mysql && sleep 30
if: ${{ matrix.adapter == 'Knex-MySQL' || matrix.adapter == 'Knex-MySQL2' }}
working-directory: ./test

- name: Start containers for ${{ matrix.adapter }} adapter
run: docker-compose up mssql mssql-create-db -d
run: docker-compose up -d mssql mssql-create-db && sleep 60
if: ${{ matrix.adapter == 'Knex-MSSQL' }}
working-directory: ./test

- name: Sleeping 30 secs
run: sleep 30

- name: Check containers
run: docker-compose ps
working-directory: ./test
Expand Down

0 comments on commit 180a467

Please sign in to comment.