diff --git a/.github/workflows/tests_fyi.yml b/.github/workflows/tests_fyi.yml index 1a0dc15aed..802c7d12c0 100644 --- a/.github/workflows/tests_fyi.yml +++ b/.github/workflows/tests_fyi.yml @@ -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 - diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.yml index ef9d24cefa..92b2f6237a 100644 --- a/.github/workflows/tests_secondary.yml +++ b/.github/workflows/tests_secondary.yml @@ -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 +