Skip to content

Commit c08ea97

Browse files
committed
fix: cypress run at github workflow
1 parent 5bfed42 commit c08ea97

File tree

2 files changed

+11
-56
lines changed

2 files changed

+11
-56
lines changed

.github/workflows/cypress-test.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/jest-test.yml renamed to .github/workflows/test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,23 @@ jobs:
2727
- name: Seed Database
2828
run: yarn seed
2929

30-
- name: Run Frontend Tests
30+
- name: Run Jest Tests
3131
run: yarn test --ci --watchAll=false --silent
3232

33+
- name: Cypress:Start the development server
34+
run: PORT=3000 yarn dev & echo $! > frontend_pid.txt
35+
36+
- name: Cypress:Run Tests
37+
run: yarn test:cypress
38+
3339
- name: Stop Emulator
3440
run: kill $(cat emulator_pid.txt)
3541
if: always()
3642

43+
- name: Stop Front
44+
run: kill $(cat frontend_pid.txt)
45+
if: always()
46+
3747
- name: Install Backend Dependencies
3848
run: |
3949
cd functions

0 commit comments

Comments
 (0)