Skip to content

Commit 818e4ff

Browse files
committed
try
1 parent 683da55 commit 818e4ff

File tree

4 files changed

+41
-46
lines changed

4 files changed

+41
-46
lines changed

.github/actions/install-all-build-libs/action.yml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ runs:
99
uses: actions/setup-node@v4
1010
with:
1111
node-version: '20.15'
12-
cache: 'yarn'
1312

1413
- name: Install dependencies for root package.js
1514
shell: bash

.github/workflows/tests-e2e-linux.yml

+35-39
Original file line numberDiff line numberDiff line change
@@ -44,35 +44,31 @@ jobs:
4444
# sudo apt-get update -y && sudo apt-get install -y xvfb net-tools libsecret-1-dev
4545
# Xvfb :99 -screen 0 1920x1080x24 &
4646

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
5349
# 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
5856

5957
- name: Setup Node
6058
uses: actions/setup-node@v4
6159
with:
6260
node-version: '20.15'
6361

64-
- run: node -v
62+
# - run: node -v
6563

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
7068

7169
- name: Setup e2e tests
7270
working-directory: ./tests/e2e
7371
run: |
74-
# npm i -g yarn
75-
# npm i -g vsce
7672
npm install -g @vscode/vsce
7773
yarn install
7874
yarn compile
@@ -102,19 +98,19 @@ jobs:
10298
run: |
10399
.github/e2e/test.app.sh
104100
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
113102
# uses: actions/upload-artifact@v4
114103
# if: always()
115104
# 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
118114

119115
- name: Send report to Slack
120116
if: inputs.report && always()
@@ -127,20 +123,20 @@ jobs:
127123
if: always()
128124
with:
129125
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
131127
reporter: java-junit
132128
list-tests: 'failed'
133129
list-suites: 'failed'
134130
fail-on-error: 'false'
135131

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

.github/workflows/tests.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727

2828
# E2E Docker
2929

30-
# build-linux:
31-
# uses: ./.github/workflows/pipeline-build-linux.yml
32-
# needs: e2e-approve
33-
# secrets: inherit
30+
build-linux:
31+
uses: ./.github/workflows/pipeline-build-linux.yml
32+
# needs: e2e-approve
33+
secrets: inherit
3434

3535
e2e-linux-tests:
36-
# needs: build-linux
36+
needs: build-linux
3737
uses: ./.github/workflows/tests-e2e-linux.yml
3838
secrets: inherit

tests/e2e/.ci.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
API_URL=http://127.0.0.1:5541/api
22
OSS_SENTINEL_PASSWORD=password
33
RI_APP_FOLDER_NAME=.redis-for-vscode-stage
4-
# EXTENSION_NAME=redis-for-vscode-extension-linux-x64.vsix
4+
EXTENSION_NAME=redis-for-vscode-extension-linux-x64.vsix
55
# RI_TEST=true
66

77
OSS_STANDALONE_HOST=localhost

0 commit comments

Comments
 (0)