File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change 2727 with :
2828 args : ./ci/steps/lint.sh
2929
30- test :
30+ test-unit :
31+ runs-on : ubuntu-latest
32+ steps :
33+ - uses : actions/checkout@v1
34+ - name : Run unit tests
35+ uses : ./ci/images/debian10
36+ with :
37+ args : ./ci/steps/test-unit.sh
38+
39+ test-e2e :
3140 needs : linux-amd64
3241 runs-on : ubuntu-latest
3342 env :
@@ -45,18 +54,16 @@ jobs:
4554 cd release-packages && tar -xzf code-server*-linux-amd64.tar.gz
4655 - uses : microsoft/playwright-github-action@v1
4756 - name : Install dependencies and run tests
48- run : |
49- ./release-packages/code-server*-linux-amd64/bin/code-server --home $CODE_SERVER_ADDRESS/healthz &
50- yarn --frozen-lockfile
51- yarn test
57+ with :
58+ args : ./ci/steps/test-e2e.sh
5259 - name : Upload test artifacts
5360 if : always()
5461 uses : actions/upload-artifact@v2
5562 with :
5663 name : test-videos
57- path : ./test/videos
64+ path : ./test/e2e// videos
5865 - name : Remove release packages and test artifacts
59- run : rm -rf ./release-packages ./test/videos
66+ run : rm -rf ./release-packages ./test/e2e/ videos
6067
6168 release :
6269 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments