Skip to content

Commit

Permalink
[ci] Update python tests
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
VietND96 committed Nov 13, 2024
1 parent 0338677 commit 7209c39
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
5 changes: 0 additions & 5 deletions py/private/browsers.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down

0 comments on commit 7209c39

Please sign in to comment.