@@ -21,13 +21,13 @@ jobs:
2121 - name : Checkout source tree
2222 uses : actions/checkout@v4
2323 - name : Set up Python 3.9
24- uses : actions/setup-python@v4
24+ uses : actions/setup-python@v6
2525 with :
2626 python-version : 3.9
2727 - name : Install dependencies
2828 run : |
2929 python -m pip install --upgrade pip
30- pip install tox==4.27.0
30+ pip install tox==4.30.2
3131 - name : Generate docs
3232 run : tox -c py/tox.ini
3333 env :
@@ -41,19 +41,35 @@ jobs:
4141 - name : Checkout source tree
4242 uses : actions/checkout@v4
4343 - name : Set up Python 3.9
44- uses : actions/setup-python@v4
44+ uses : actions/setup-python@v6
4545 with :
4646 python-version : 3.9
4747 - name : Install dependencies
4848 run : |
4949 python -m pip install --upgrade pip
50- pip install tox==4.27.0
50+ pip install tox==4.30.2
5151 - name : Run type checking
5252 run : |
5353 tox -c py/tox.ini || true
5454 env :
5555 TOXENV : mypy
5656
57+ unit-tests :
58+ name : Unit Tests
59+ needs : build
60+ uses : ./.github/workflows/bazel.yml
61+ strategy :
62+ fail-fast : false
63+ matrix :
64+ include :
65+ - os : ubuntu
66+ - os : macos
67+ with :
68+ name : Unit Tests (${{ matrix.os }})
69+ os : ${{ matrix.os }}
70+ cache-key : python-unit-test-${{ matrix.os }}
71+ run : bazel test //py:unit
72+
5773 remote-tests :
5874 name : Remote Tests
5975 needs : build
8399 os : ubuntu
84100 - browser : firefox
85101 os : ubuntu
102+ - browser : chrome
103+ os : windows
104+ - browser : edge
105+ os : windows
86106 with :
87107 name : Integration Tests (${{ matrix.browser }}, ${{ matrix.os }})
88108 browser : ${{ matrix.browser }}
@@ -108,4 +128,5 @@ jobs:
108128 os : ${{ matrix.os }}
109129 cache-key : py-browser-${{ matrix.browser }}
110130 run : |
131+ bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:common-${{ matrix.browser }}
111132 bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:test-${{ matrix.browser }}
0 commit comments