From 24ddbb3fdd700f7e09a12ca9454aab69d035ad66 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 | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 6f1dad4068f9b..0066598d82613 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -85,10 +85,16 @@ 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 @@ -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: Browser Tests (${{ 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 }}