File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 29
29
uses : ./ci/images/debian10
30
30
with :
31
31
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
32
62
33
63
release :
34
64
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments