From 7209c39c5de3b0aca08ee61d4df4cd1a7ab14add Mon Sep 17 00:00:00 2001 From: Viet Nguyen Duc Date: Wed, 13 Nov 2024 11:43:41 +0700 Subject: [PATCH] [ci] Update python tests Signed-off-by: Viet Nguyen Duc --- .github/workflows/ci-python.yml | 23 ++++++++++++++++++----- py/private/browsers.bzl | 5 ----- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 6f1dad4068f9b..afaca9976430f 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -85,12 +85,18 @@ jobs: fail-fast: false matrix: include: + - browser: chrome + os: ubuntu + - browser: edge + os: ubuntu - browser: firefox + os: ubuntu with: - name: Integration Tests (remote, ${{ matrix.browser }}) + name: Integration Tests (remote, ${{ matrix.browser }}, ${{ matrix.os }}) browser: ${{ matrix.browser }} + os: ${{ matrix.os }} cache-key: py-remote-${{ matrix.browser }} - run: bazel test --local_test_jobs 1 --flaky_test_attempts 3 //py:test-remote + run: bazel test --flaky_test_attempts 3 //py:test-remote browser-tests: name: Browser Tests @@ -103,10 +109,17 @@ jobs: - browser: safari os: macos - browser: chrome - os: macos + os: ubuntu + - browser: edge + os: ubuntu + - browser: firefox + os: ubuntu with: - name: Integration Tests (${{ matrix.browser }}, ${{ matrix.os }}) + name: Integration Tests (local, ${{ matrix.browser }}, ${{ matrix.os }}) browser: ${{ matrix.browser }} os: ${{ matrix.os }} cache-key: py-browser-${{ matrix.browser }} - run: bazel test --flaky_test_attempts 3 //py:test-${{ matrix.browser }} + run: | + bazel test --flaky_test_attempts 3 //py:common-${{ matrix.browser }} + bazel test --flaky_test_attempts 3 //py:common-${{ matrix.browser }}-bidi + bazel test --flaky_test_attempts 3 //py:test-${{ matrix.browser }} diff --git a/py/private/browsers.bzl b/py/private/browsers.bzl index 28e8aa7b5f7ad..3f265af491b92 100644 --- a/py/private/browsers.bzl +++ b/py/private/browsers.bzl @@ -69,11 +69,6 @@ BROWSERS = { "data": firefox_data, "tags": COMMON_TAGS + ["firefox"], }, - "ie": { - "args": ["--driver=ie"], - "data": [], - "tags": COMMON_TAGS + ["ie", "skip-remote"], - }, "safari": { "args": ["--driver=safari"], "data": [],