Skip to content

Commit 141583c

Browse files
authored
infra(chrome_stable): add more bots (#5863)
1 parent 84efdfc commit 141583c

File tree

1 file changed

+58
-4
lines changed

1 file changed

+58
-4
lines changed

.github/workflows/tests.yml

Lines changed: 58 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ jobs:
259259
name: android-test-results
260260
path: test-results
261261

262-
chrome_stable:
262+
chrome_stable_linux:
263263
name: "Chrome Stable"
264264
strategy:
265265
fail-fast: false
@@ -292,10 +292,64 @@ jobs:
292292
- uses: actions/upload-artifact@v1
293293
if: ${{ always() }}
294294
with:
295-
name: chrome-stable-test-results
295+
name: chrome-stable-linux-test-results
296296
path: test-results
297297

298-
edge_stable:
298+
chrome_stable_win:
299+
name: "Chrome Stable (Win)"
300+
runs-on: windows-latest
301+
steps:
302+
- name: Install Media Pack
303+
shell: powershell
304+
run: Install-WindowsFeature Server-Media-Foundation
305+
- uses: actions/checkout@v2
306+
- uses: actions/setup-node@v1
307+
with:
308+
node-version: 10
309+
- run: npm ci
310+
env:
311+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
312+
- run: npm run build
313+
# This only created problems, should we move ffmpeg back into npm?
314+
- run: node lib/cli/cli install ffmpeg
315+
- run: npx folio test/ --workers=1 --forbid-only --global-timeout=5400000 --retries=3 --reporter=dot,json
316+
shell: bash
317+
env:
318+
BROWSER: "chromium"
319+
PW_CHROMIUM_CHANNEL: "chrome"
320+
FOLIO_JSON_OUTPUT_NAME: "test-results/report.json"
321+
- uses: actions/upload-artifact@v1
322+
if: ${{ always() }}
323+
with:
324+
name: chrome-stable-win-test-results
325+
path: test-results
326+
327+
chrome_stable_mac:
328+
name: "Chrome Stable (Mac)"
329+
runs-on: macos-10.15
330+
steps:
331+
- uses: actions/checkout@v2
332+
- uses: actions/setup-node@v1
333+
with:
334+
node-version: 10
335+
- run: npm ci
336+
env:
337+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
338+
- run: npm run build
339+
# This only created problems, should we move ffmpeg back into npm?
340+
- run: node lib/cli/cli install ffmpeg
341+
- run: npx folio test/ --workers=1 --forbid-only --global-timeout=5400000 --retries=3 --reporter=dot,json
342+
env:
343+
BROWSER: "chromium"
344+
PW_CHROMIUM_CHANNEL: "chrome"
345+
FOLIO_JSON_OUTPUT_NAME: "test-results/report.json"
346+
- uses: actions/upload-artifact@v1
347+
if: ${{ always() }}
348+
with:
349+
name: chrome-stable-mac-test-results
350+
path: test-results
351+
352+
edge_stable_win:
299353
name: "Edge Stable (Win)"
300354
runs-on: windows-latest
301355
steps:
@@ -321,5 +375,5 @@ jobs:
321375
- uses: actions/upload-artifact@v1
322376
if: ${{ always() }}
323377
with:
324-
name: edge-stable-test-results
378+
name: edge-stable-win-test-results
325379
path: test-results

0 commit comments

Comments
 (0)