File tree 1 file changed +12
-4
lines changed
1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 30
30
jobs :
31
31
pr-check :
32
32
runs-on : ubuntu-22.04
33
-
33
+ defaults :
34
+ run :
35
+ working-directory : tests/e2e
34
36
steps :
35
37
- name : Git checkout
36
38
uses : actions/checkout@v2
48
50
with :
49
51
node-version : ' 16'
50
52
53
+ - name : Check compilation errors
54
+ run : |
55
+ npm ci
56
+ npm run tsc
57
+
58
+ - name : Check lint errors
59
+ run : |
60
+ npm run lint
61
+
51
62
- name : Start minikube
52
63
id : run-minikube
53
64
uses : che-incubator/setup-minikube-action@next
92
103
93
104
- name : Run Empty Workspace API test
94
105
run : |
95
- cd tests/e2e
96
- npm ci
97
106
export TS_PLATFORM=kubernetes &&
98
107
export TS_API_TEST_KUBERNETES_COMMAND_LINE_TOOL=kubectl &&
99
108
export TS_SELENIUM_VALUE_OPENSHIFT_OAUTH=false &&
@@ -109,7 +118,6 @@ jobs:
109
118
run : |
110
119
# for saving disk space we can remove the assembly folder because it is legacy code
111
120
rm -rf assembly
112
- cd tests/e2e
113
121
docker build -t quay.io/eclipse/che-e2e:"${{ env.pr_number }}" -f build/dockerfiles/Dockerfile .
114
122
115
123
# we have already ran API test, built test image and do not need e2e test-code, remove for saving disk space
You can’t perform that action at this time.
0 commit comments