Skip to content

Commit 8f2879d

Browse files
committed
retries
1 parent 38c3929 commit 8f2879d

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.github/workflows/pr-check.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@ jobs:
114114
echo '{"python.useEnvironmentsExtension": true}' > .vscode-test/user-data/User/settings.json
115115
shell: bash
116116

117+
- name: Download VS Code
118+
uses: nick-fields/retry@v3
119+
with:
120+
timeout_minutes: 10
121+
max_attempts: 3
122+
command: npx @vscode/test-cli download
123+
117124
- name: Run Smoke Tests (Linux)
118125
if: runner.os == 'Linux'
119126
uses: GabrielBB/xvfb-action@v1
@@ -164,6 +171,13 @@ jobs:
164171
echo '{"python.useEnvironmentsExtension": true}' > .vscode-test/user-data/User/settings.json
165172
shell: bash
166173

174+
- name: Download VS Code
175+
uses: nick-fields/retry@v3
176+
with:
177+
timeout_minutes: 10
178+
max_attempts: 3
179+
command: npx @vscode/test-cli download
180+
167181
- name: Run E2E Tests (Linux)
168182
if: runner.os == 'Linux'
169183
uses: GabrielBB/xvfb-action@v1
@@ -214,6 +228,13 @@ jobs:
214228
echo '{"python.useEnvironmentsExtension": true}' > .vscode-test/user-data/User/settings.json
215229
shell: bash
216230

231+
- name: Download VS Code
232+
uses: nick-fields/retry@v3
233+
with:
234+
timeout_minutes: 10
235+
max_attempts: 3
236+
command: npx @vscode/test-cli download
237+
217238
- name: Run Integration Tests (Linux)
218239
if: runner.os == 'Linux'
219240
uses: GabrielBB/xvfb-action@v1

.github/workflows/push-check.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,13 @@ jobs:
115115
echo '{"python.useEnvironmentsExtension": true}' > .vscode-test/user-data/User/settings.json
116116
shell: bash
117117

118+
- name: Download VS Code
119+
uses: nick-fields/retry@v3
120+
with:
121+
timeout_minutes: 10
122+
max_attempts: 3
123+
command: npx @vscode/test-cli download
124+
118125
- name: Run Smoke Tests (Linux)
119126
if: runner.os == 'Linux'
120127
uses: GabrielBB/xvfb-action@v1
@@ -165,6 +172,13 @@ jobs:
165172
echo '{"python.useEnvironmentsExtension": true}' > .vscode-test/user-data/User/settings.json
166173
shell: bash
167174

175+
- name: Download VS Code
176+
uses: nick-fields/retry@v3
177+
with:
178+
timeout_minutes: 10
179+
max_attempts: 3
180+
command: npx @vscode/test-cli download
181+
168182
- name: Run E2E Tests (Linux)
169183
if: runner.os == 'Linux'
170184
uses: GabrielBB/xvfb-action@v1
@@ -215,6 +229,13 @@ jobs:
215229
echo '{"python.useEnvironmentsExtension": true}' > .vscode-test/user-data/User/settings.json
216230
shell: bash
217231

232+
- name: Download VS Code
233+
uses: nick-fields/retry@v3
234+
with:
235+
timeout_minutes: 10
236+
max_attempts: 3
237+
command: npx @vscode/test-cli download
238+
218239
- name: Run Integration Tests (Linux)
219240
if: runner.os == 'Linux'
220241
uses: GabrielBB/xvfb-action@v1

0 commit comments

Comments
 (0)