From 6a25ae3a24929f35aabf8a051531c0716032e0a0 Mon Sep 17 00:00:00 2001 From: Tyler James Leonhardt Date: Mon, 15 Nov 2021 19:06:03 -0800 Subject: [PATCH] enable browser and remote integration tests (#137254) --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bccbb3fef51..81394730d69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,9 +75,20 @@ jobs: - name: Run Unit Tests (Browser) run: yarn test-browser --browser chromium + - name: Compile Integration Tests + run: yarn --cwd test/integration/browser compile + - name: Run Integration Tests (Electron) run: .\scripts\test-integration.bat + - name: Run Integration Tests (Browser) + timeout-minutes: 10 + run: .\resources\server\test\test-web-integration.bat --browser firefox + + - name: Run Remote Integration Tests (Electron) + timeout-minutes: 10 + run: .\resources\server\test\test-remote-integration.bat + linux: name: Linux runs-on: ubuntu-latest @@ -140,10 +151,22 @@ jobs: id: browser-unit-tests run: DISPLAY=:10 yarn test-browser --browser chromium + - name: Compile Integration Tests + run: yarn --cwd test/integration/browser compile + - name: Run Integration Tests (Electron) id: electron-integration-tests run: DISPLAY=:10 ./scripts/test-integration.sh + - name: Run Integration Tests (Browser) + id: browser-integration-tests + run: DISPLAY=:10 ./resources/server/test/test-web-integration.sh --browser chromium + + - name: Run Remote Integration Tests (Electron) + id: electron-remote-integration-tests + timeout-minutes: 7 + run: DISPLAY=:10 ./resources/server/test/test-remote-integration.sh + darwin: name: macOS runs-on: macos-latest @@ -202,9 +225,19 @@ jobs: - name: Run Unit Tests (Browser) run: DISPLAY=:10 yarn test-browser --browser chromium + - name: Compile Integration Tests + run: yarn --cwd test/integration/browser compile + - name: Run Integration Tests (Electron) run: DISPLAY=:10 ./scripts/test-integration.sh + - name: Run Integration Tests (Browser) + run: DISPLAY=:10 ./resources/server/test/test-web-integration.sh --browser webkit + + - name: Run Remote Integration Tests (Electron) + timeout-minutes: 7 + run: DISPLAY=:10 ./resources/server/test/test-remote-integration.sh + hygiene: name: Hygiene, Layering and Monaco Editor runs-on: ubuntu-latest