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 21
21
with :
22
22
args : ./ci/steps/lint.sh
23
23
24
- test :
24
+ test-unit :
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - uses : actions/checkout@v1
28
+ - name : Run unit tests
29
+ uses : ./ci/images/debian10
30
+ with :
31
+ args : ./ci/steps/test-unit.sh
32
+
33
+ test-e2e :
25
34
needs : linux-amd64
26
35
runs-on : ubuntu-latest
27
36
env :
@@ -39,18 +48,16 @@ jobs:
39
48
cd release-packages && tar -xzf code-server*-linux-amd64.tar.gz
40
49
- uses : microsoft/playwright-github-action@v1
41
50
- name : Install dependencies and run tests
42
- run : |
43
- ./release-packages/code-server*-linux-amd64/bin/code-server --home $CODE_SERVER_ADDRESS/healthz &
44
- yarn --frozen-lockfile
45
- yarn test
51
+ with :
52
+ args : ./ci/steps/test-e2e.sh
46
53
- name : Upload test artifacts
47
54
if : always()
48
55
uses : actions/upload-artifact@v2
49
56
with :
50
57
name : test-videos
51
- path : ./test/videos
58
+ path : ./test/e2e// videos
52
59
- name : Remove release packages and test artifacts
53
- run : rm -rf ./release-packages ./test/videos
60
+ run : rm -rf ./release-packages ./test/e2e/ videos
54
61
55
62
release :
56
63
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments