@@ -11,49 +11,73 @@ jobs:
1111    with :
1212      name : Build 
1313      cache-key : py-build 
14-       run : bazel build //py:selenium-wheel //py:selenium-sdist 
14+       run : | 
15+         bazel build //py:selenium-wheel //py:selenium-sdist 
1516
1617   docs :
1718    name : Documentation 
18-     needs : build 
1919    runs-on : ubuntu-latest 
2020    steps :
2121      - name : Checkout source tree 
2222        uses : actions/checkout@v4 
23-       - name : Set up Python 3.9  
24-         uses : actions/setup-python@v4  
23+       - name : Set up Python 3.10  
24+         uses : actions/setup-python@v6  
2525        with :
26-           python-version : 3.9 
26+           python-version : ' 3.10 ' 
2727      - name : Install dependencies 
2828        run : | 
2929          python -m pip install --upgrade pip 
30-           pip install tox==4.27.0  
30+           pip install tox 
3131       - name : Generate docs 
32-         run : tox -c py/tox.ini 
32+         run : | 
33+           tox -c py/tox.ini 
3334         env :
3435          TOXENV : docs 
3536
36-   mypy :
37-     name : Mypy 
38-     needs : build 
37+   typing :
38+     name : Type Checker 
3939    runs-on : ubuntu-latest 
4040    steps :
4141      - name : Checkout source tree 
4242        uses : actions/checkout@v4 
43-       - name : Set up Python 3.9  
44-         uses : actions/setup-python@v4  
43+       - name : Set up Python 3.10  
44+         uses : actions/setup-python@v6  
4545        with :
46-           python-version : 3.9 
46+           python-version : ' 3.10 ' 
4747      - name : Install dependencies 
4848        run : | 
4949          python -m pip install --upgrade pip 
50-           pip install tox==4.27.0  
50+           pip install tox 
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+           - python-version : ' 3.10' 
66+             os : ubuntu 
67+           - python-version : ' 3.10' 
68+             os : macos 
69+           - python-version : ' 3.14' 
70+             os : ubuntu 
71+           - python-version : ' 3.14' 
72+             os : macos 
73+     with :
74+       name : Unit Tests (${{ matrix.python-version }}, ${{ matrix.os }}) 
75+       os : ${{ matrix.os }} 
76+       python-version : ${{ matrix.python-version }} 
77+       cache-key : python-unit-test-${{ matrix.python-version }} 
78+       run : | 
79+         bazel test //py:unit 
80+ 
5781   remote-tests :
5882    name : Remote Tests 
5983    needs : build 
@@ -62,12 +86,13 @@ jobs:
6286      fail-fast : false 
6387      matrix :
6488        include :
65-           - browser : firefox 
89+           - browser : chrome 
6690    with :
6791      name : Integration Tests (remote, ${{ matrix.browser }}) 
6892      browser : ${{ matrix.browser }} 
6993      cache-key : py-remote-${{ matrix.browser }} 
70-       run : bazel test --local_test_jobs 1 --flaky_test_attempts 3 //py:test-remote 
94+       run : | 
95+         bazel test --local_test_jobs 1 --flaky_test_attempts 3 //py:test-remote 
7196
7297   browser-tests :
7398    name : Browser Tests 
@@ -89,10 +114,30 @@ jobs:
89114      os : ${{ matrix.os }} 
90115      cache-key : py-browser-${{ matrix.browser }} 
91116      run : | 
92-         bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:common-${{ matrix.browser }}-bidi 
93-         bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:test-${{ matrix.browser }} 
117+         bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:common-${{ matrix.browser }}-bidi //py:test-${{ matrix.browser }} 
118+ 
119+    browser-tests-windows :
120+     name : Browser Tests 
121+     needs : build 
122+     uses : ./.github/workflows/bazel.yml 
123+     strategy :
124+       fail-fast : false 
125+       matrix :
126+         include :
127+           - browser : chrome 
128+             os : windows 
129+           - browser : edge 
130+             os : windows 
131+     with :
132+       name : Integration Tests (${{ matrix.browser }}, ${{ matrix.os }}) 
133+       browser : ${{ matrix.browser }} 
134+       os : ${{ matrix.os }} 
135+       cache-key : py-browser-${{ matrix.browser }} 
136+       run : | 
137+         fsutil 8dot3name set 0 
138+         bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:common-${{ matrix.browser }}-bidi //py:test-${{ matrix.browser }} 
94139
95-    safari -tests :
140+    browser -tests-macos  :
96141    name : Browser Tests 
97142    needs : build 
98143    uses : ./.github/workflows/bazel.yml 
@@ -108,4 +153,4 @@ jobs:
108153      os : ${{ matrix.os }} 
109154      cache-key : py-browser-${{ matrix.browser }} 
110155      run : | 
111-         bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:test-${{ matrix.browser }} 
156+         bazel test --local_test_jobs 1 --flaky_test_attempts 3 --pin_browsers=true //py:common-${{ matrix.browser }} //py: test-${{ matrix.browser }} 
0 commit comments