File tree 1 file changed +14
-7
lines changed
1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change 27
27
with :
28
28
args : ./ci/steps/lint.sh
29
29
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 :
31
40
needs : linux-amd64
32
41
runs-on : ubuntu-latest
33
42
env :
@@ -45,18 +54,16 @@ jobs:
45
54
cd release-packages && tar -xzf code-server*-linux-amd64.tar.gz
46
55
- uses : microsoft/playwright-github-action@v1
47
56
- 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
52
59
- name : Upload test artifacts
53
60
if : always()
54
61
uses : actions/upload-artifact@v2
55
62
with :
56
63
name : test-videos
57
- path : ./test/videos
64
+ path : ./test/e2e// videos
58
65
- name : Remove release packages and test artifacts
59
- run : rm -rf ./release-packages ./test/videos
66
+ run : rm -rf ./release-packages ./test/e2e/ videos
60
67
61
68
release :
62
69
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments