File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 2929 uses : ./ci/images/debian10
3030 with :
3131 args : ./ci/steps/test-unit.sh
32+ test-e2e :
33+ needs : linux-amd64
34+ runs-on : ubuntu-latest
35+ env :
36+ PASSWORD : e45432jklfdsab
37+ CODE_SERVER_ADDRESS : http://localhost:8080
38+ steps :
39+ - uses : actions/checkout@v1
40+ - name : Download release packages
41+ uses : actions/download-artifact@v2
42+ with :
43+ name : release-packages
44+ path : ./release-packages
45+ - name : Untar code-server file
46+ run : |
47+ cd release-packages && tar -xzf code-server*-linux-amd64.tar.gz
48+ - uses : microsoft/playwright-github-action@v1
49+ - name : Install dependencies and run end-to-end tests
50+ run : |
51+ ./release-packages/code-server*-linux-amd64/bin/code-server --home $CODE_SERVER_ADDRESS/healthz &
52+ yarn --frozen-lockfile
53+ yarn test:e2e
54+ - name : Upload test artifacts
55+ if : always()
56+ uses : actions/upload-artifact@v2
57+ with :
58+ name : test-videos
59+ path : ./test/e2e/videos
60+ - name : Remove release packages and test artifacts
61+ run : rm -rf ./release-packages ./test/e2e/videos
3262
3363 release :
3464 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments