File tree Expand file tree Collapse file tree 2 files changed +30
-35
lines changed Expand file tree Collapse file tree 2 files changed +30
-35
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Run unit tests
1+ name : Test
22on :
33 pull_request : {}
44 push :
55 branches : [livekit, full-mesh]
66jobs :
77 vitest :
8- name : Run vitest tests
8+ name : Run unit tests
99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout code
2626 with :
2727 flags : unittests
2828 fail_ci_if_error : true
29+ playwright :
30+ name : Run end-to-end tests
31+ timeout-minutes : 10
32+ runs-on : ubuntu-latest
33+ steps :
34+ - uses : actions/checkout@v4
35+ - uses : actions/setup-node@v4
36+ with :
37+ cache : " yarn"
38+ node-version-file : " .node-version"
39+ - name : Install dependencies
40+ run : yarn install --frozen-lockfile
41+ - name : Install Playwright Browsers
42+ run : yarn playwright install --with-deps
43+ - name : Run backend components
44+ run : |
45+ docker compose -f playwright-backend-docker-compose.yml up -d
46+ docker ps
47+ - name : Copy config file
48+ run : cp config/config.devenv.json public/config.json
49+ - name : Run Playwright tests
50+ run : yarn playwright test
51+ - uses : actions/upload-artifact@v4
52+ if : ${{ !cancelled() }}
53+ with :
54+ name : playwright-report
55+ path : playwright-report/
56+ retention-days : 3
You can’t perform that action at this time.
0 commit comments