Skip to content

Commit

Permalink
Issue#46: fix e2e test job in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
maingockien01 committed Feb 29, 2024
1 parent 644adaf commit 3871ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
- name: Create docker network
run: docker network create team8
- name: Run database container
run: docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root --name mysql mysql:5.7 -v ./docker/mysql/provision/init.sql:/docker-entrypoint-initdb.d/init.sql --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 --health-start-period=10s --network=team8
run: docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root --name database mysql:5.7 -v ./docker/mysql/provision/init.sql:/docker-entrypoint-initdb.d/init.sql --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 --health-start-period=10s --network=team8
- name: Run e2e tests on workspace backend
id: backend-e2e
run: docker run ${{ env.DOCKER_TAG }} yarn workspace @team8/backend test:e2e --network=team8

0 comments on commit 3871ef0

Please sign in to comment.