Skip to content

Commit

Permalink
Modify yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrujanaReddy committed Aug 11, 2024
1 parent c9fcd7b commit ca7dfb3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ jobs:
- name: Run Docker Compose file
run: docker compose up -d && sleep 10

- name: Run unit tests
run: docker compose exec app npm test

- name: Run integration tests
run: |
docker compose exec app npx sequelize-cli db:create
docker compose exec app npx sequelize-cli db:drop
docker compose exec app npx sequelize-cli db:migrate
docker compose exec app npm run start:dev & sleep 10
docker compose exec app npm install cypress cypress-json-results
docker compose exec app npx cypress run
# - name: Run unit tests
# run: docker compose exec app npm test

# - name: Run integration tests
# run: |
# docker compose exec app npx sequelize-cli db:create
# docker compose exec app npx sequelize-cli db:drop
# docker compose exec app npx sequelize-cli db:migrate
# docker compose exec app npm run start:dev & sleep 10
# docker compose exec app npm install cypress cypress-json-results
# docker compose exec app npx cypress run

- name: Setup SSH
run: |
Expand Down

0 comments on commit ca7dfb3

Please sign in to comment.