@@ -44,35 +44,31 @@ jobs:
44
44
# sudo apt-get update -y && sudo apt-get install -y xvfb net-tools libsecret-1-dev
45
45
# Xvfb :99 -screen 0 1920x1080x24 &
46
46
47
- - name : Setup tmate session
48
- uses : mxschmitt/action-tmate@v3
49
- with :
50
- detached : true
51
- # - name: Download linux artifact
52
- # uses: actions/download-artifact@v4
47
+ # - name: Setup tmate session
48
+ # uses: mxschmitt/action-tmate@v3
53
49
# with:
54
- # name: linux-build
55
- # path: ./release
56
-
57
- - run : mv ./release2 ./release
50
+ # detached: true
51
+ - name : Download linux artifact
52
+ uses : actions/download-artifact@v4
53
+ with :
54
+ name : linux-build
55
+ path : ./release
58
56
59
57
- name : Setup Node
60
58
uses : actions/setup-node@v4
61
59
with :
62
60
node-version : ' 20.15'
63
61
64
- - run : node -v
62
+ # - run: node -v
65
63
66
- - name : Install dependencies for root package.js
67
- run : yarn install --frozen-lockfile
68
- - run : yarn download:backend
69
- - run : yarn package:prod
64
+ # - name: Install dependencies for root package.js
65
+ # run: yarn install --frozen-lockfile
66
+ # - run: yarn download:backend
67
+ # - run: yarn package:prod
70
68
71
69
- name : Setup e2e tests
72
70
working-directory : ./tests/e2e
73
71
run : |
74
- # npm i -g yarn
75
- # npm i -g vsce
76
72
npm install -g @vscode/vsce
77
73
yarn install
78
74
yarn compile
@@ -102,19 +98,19 @@ jobs:
102
98
run : |
103
99
.github/e2e/test.app.sh
104
100
105
- - name : Upload Test Screenshots
106
- uses : actions/upload-artifact@v4
107
- if : always()
108
- with :
109
- name : screenshots-${{ matrix.parallel }}
110
- path : tests/e2e/test-resources/screenshots
111
-
112
- # - name: Upload Test Report
101
+ # - name: Upload Test Screenshots
113
102
# uses: actions/upload-artifact@v4
114
103
# if: always()
115
104
# with:
116
- # name: report-linux-node-${{ matrix.parallel }}
117
- # path: /usr/src/app/report
105
+ # name: screenshots-${{ matrix.parallel }}
106
+ # path: tests/e2e/test-resources/screenshots
107
+
108
+ - name : Upload Test Mocha Report
109
+ uses : actions/upload-artifact@v4
110
+ if : always()
111
+ with :
112
+ name : mocha-report-linux-node-${{ matrix.parallel }}
113
+ path : tests/e2e/mochawesome-report
118
114
119
115
- name : Send report to Slack
120
116
if : inputs.report && always()
@@ -127,20 +123,20 @@ jobs:
127
123
if : always()
128
124
with :
129
125
name : ' Test results: E2E (linux) ${{ matrix.parallel }}th node'
130
- path : /usr/src/app/results/results .xml
126
+ path : tests/e2e/mochawesome-report/junit-report .xml
131
127
reporter : java-junit
132
128
list-tests : ' failed'
133
129
list-suites : ' failed'
134
130
fail-on-error : ' false'
135
131
136
- merge-artifacts :
137
- runs-on : ubuntu-latest
138
- needs : e2e-linux-tests
139
- steps :
140
- - name : Merge report artifacts
141
- id : merge-artifacts
142
- uses : actions/upload-artifact/merge@v4
143
- with :
144
- name : report-e2e-linux
145
- pattern : report-linux-node-*
146
- delete-merged : true
132
+ # merge-artifacts:
133
+ # runs-on: ubuntu-latest
134
+ # needs: e2e-linux-tests
135
+ # steps:
136
+ # - name: Merge report artifacts
137
+ # id: merge-artifacts
138
+ # uses: actions/upload-artifact/merge@v4
139
+ # with:
140
+ # name: report-e2e-linux
141
+ # pattern: report-linux-node-*
142
+ # delete-merged: true
0 commit comments