From 4ff8feb2f9a8c3d74d36b958c680560b04381cd5 Mon Sep 17 00:00:00 2001 From: Viet Nguyen Duc Date: Thu, 14 Nov 2024 04:47:38 +0700 Subject: [PATCH] Update ci matrix Signed-off-by: Viet Nguyen Duc --- .github/workflows/ci-python.yml | 17 ++++++----------- py/conftest.py | 6 +++--- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 3487592babe75..7b63e5f298cce 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -85,16 +85,10 @@ 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 }}, ${{ matrix.os }}) + name: Integration Tests (remote) 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 @@ -108,18 +102,19 @@ jobs: include: - browser: safari os: macos + args: "--local_test_jobs 1" - browser: chrome os: ubuntu + args: "" - browser: edge os: ubuntu + args: "" - browser: firefox os: ubuntu + args: "" with: 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:common-${{ matrix.browser }} - bazel test --flaky_test_attempts 3 //py:common-${{ matrix.browser }}-bidi - bazel test --flaky_test_attempts 5 //py:test-${{ matrix.browser }} + run: bazel test ${{ matrix.args }} --flaky_test_attempts 3 //py:test-${{ matrix.browser }} diff --git a/py/conftest.py b/py/conftest.py index 12051a08131e0..d5bf9aca8c1ea 100644 --- a/py/conftest.py +++ b/py/conftest.py @@ -32,11 +32,11 @@ "chrome", "edge", "firefox", - # "ie", + "ie", "remote", "safari", - # "webkitgtk", - # "wpewebkit", + "webkitgtk", + "wpewebkit", )