mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-03 07:51:12 +03:00
chore: move electron back from FYI bots to CQ1 bots (#6883)
This is according to the discussion at the meeting.
This commit is contained in:
parent
b19b2dc3ad
commit
f2cc439d8b
23
.github/workflows/tests_fyi.yml
vendored
23
.github/workflows/tests_fyi.yml
vendored
@ -73,26 +73,3 @@ jobs:
|
||||
name: android-test-results
|
||||
path: test-results
|
||||
|
||||
test_electron:
|
||||
name: "Electron Linux"
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: node lib/cli/cli install-deps chromium
|
||||
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
|
||||
# Wrap `npm run` in a subshell to redirect STDERR to file.
|
||||
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run etest"
|
||||
- run: node tests/config/checkCoverage.js electron
|
||||
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
||||
if: always()
|
||||
- uses: actions/upload-artifact@v1
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
name: electron-linux-test-results
|
||||
path: test-results
|
||||
|
||||
|
23
.github/workflows/tests_secondary.yml
vendored
23
.github/workflows/tests_secondary.yml
vendored
@ -443,3 +443,26 @@ jobs:
|
||||
name: chrome-beta-mac-test-results
|
||||
path: test-results
|
||||
|
||||
test_electron:
|
||||
name: "Electron Linux"
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: node lib/cli/cli install-deps chromium
|
||||
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
|
||||
# Wrap `npm run` in a subshell to redirect STDERR to file.
|
||||
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run etest"
|
||||
- run: node tests/config/checkCoverage.js electron
|
||||
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
||||
if: always()
|
||||
- uses: actions/upload-artifact@v1
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
name: electron-linux-test-results
|
||||
path: test-results
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user