File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change 4141
4242 # Optional: Playwright E2E tests
4343 - name : Install Playwright deps
44- run : npx playwright install --with-deps
45- # npm install @playwright/test
46- # npx playwright install
44+ run : |
45+ # echo skip
46+ npx playwright install --with-deps
47+ npm install @playwright/test
48+ npx playwright install
4749
4850 - name : Run E2E tests
4951 env :
@@ -52,19 +54,21 @@ jobs:
5254 NEXT_PUBLIC_FIREBASE_API_KEY : ${{ secrets.NEXT_PUBLIC_FIREBASE_API_KEY }}
5355 NEXT_PUBLIC_SUPABASE_KEY : ${{ secrets.NEXT_PUBLIC_SUPABASE_KEY }}
5456 run : |
55- echo skip
56- # npx nyc --reporter=lcov yarn --cwd=web serve &
57- # npx wait-on http://localhost:3000
58- # npx playwright test tests/e2e
59- # SERVER_PID=$(fuser -k 3000/tcp)
60- # echo $SERVER_PID
61- # kill $SERVER_PID
57+ # echo skip
58+ npx nyc --reporter=lcov yarn --cwd=web serve &
59+ npx wait-on http://localhost:3000
60+ npx playwright test tests/e2e
61+ SERVER_PID=$(fuser -k 3000/tcp)
62+ echo $SERVER_PID
63+ kill $SERVER_PID
6264
6365 - name : Upload coverage to Codecov
6466 uses : codecov/codecov-action@v5
6567 with :
68+ token : ${{ secrets.CODECOV_TOKEN }}
6669 files : ./coverage/lcov.info
6770 flags : unit
6871 fail_ci_if_error : true
72+ slug : CompassConnections/Compass
6973 env :
7074 CI : true
You can’t perform that action at this time.
0 commit comments