@@ -16,14 +16,14 @@ jobs:
1616 docs :
1717 name : Documentation
1818 needs : build
19- runs-on : ubuntu-20.04
19+ runs-on : ubuntu-latest
2020 steps :
2121 - name : Checkout source tree
2222 uses : actions/checkout@v4
23- - name : Set up Python 3.8
23+ - name : Set up Python 3.9
2424 uses : actions/setup-python@v4
2525 with :
26- python-version : 3.8
26+ python-version : 3.9
2727 - name : Install dependencies
2828 run : |
2929 python -m pip install --upgrade pip
@@ -36,14 +36,14 @@ jobs:
3636 lint :
3737 name : Lint
3838 needs : build
39- runs-on : ubuntu-20.04
39+ runs-on : ubuntu-latest
4040 steps :
4141 - name : Checkout source tree
4242 uses : actions/checkout@v4
43- - name : Set up Python 3.8
43+ - name : Set up Python 3.9
4444 uses : actions/setup-python@v4
4545 with :
46- python-version : 3.8
46+ python-version : 3.9
4747 - name : Install dependencies
4848 run : |
4949 python -m pip install --upgrade pip
@@ -58,14 +58,14 @@ jobs:
5858 mypy :
5959 name : Mypy
6060 needs : build
61- runs-on : ubuntu-20.04
61+ runs-on : ubuntu-latest
6262 steps :
6363 - name : Checkout source tree
6464 uses : actions/checkout@v4
65- - name : Set up Python 3.8
65+ - name : Set up Python 3.9
6666 uses : actions/setup-python@v4
6767 with :
68- python-version : 3.8
68+ python-version : 3.9
6969 - name : Install dependencies
7070 run : |
7171 python -m pip install --upgrade pip
8181 name : Remote Tests
8282 needs : build
8383 uses : ./.github/workflows/bazel.yml
84+ strategy :
85+ fail-fast : false
86+ matrix :
87+ include :
88+ - browser : firefox
8489 with :
85- name : Integration Tests (remote)
86- browser : firefox
87- cache-key : py-remote
90+ name : Integration Tests (remote, ${{ matrix.browser }} )
91+ browser : ${{ matrix.browser }}
92+ cache-key : py-remote-${{ matrix.browser }}
8893 run : bazel test --local_test_jobs 1 --flaky_test_attempts 3 //py:test-remote
94+
95+ browser-tests :
96+ name : Browser Tests
97+ needs : build
98+ uses : ./.github/workflows/bazel.yml
99+ strategy :
100+ fail-fast : false
101+ matrix :
102+ include :
103+ - browser : chrome
104+ os : ubuntu
105+ - browser : edge
106+ os : ubuntu
107+ - browser : firefox
108+ os : ubuntu
109+ with :
110+ name : Integration Tests (${{ matrix.browser }}, ${{ matrix.os }})
111+ browser : ${{ matrix.browser }}
112+ os : ${{ matrix.os }}
113+ cache-key : py-browser-${{ matrix.browser }}
114+ run : |
115+ bazel test --local_test_jobs 1 --flaky_test_attempts 3 //py:common-${{ matrix.browser }}-bidi
116+ bazel test --local_test_jobs 1 --flaky_test_attempts 3 //py:test-${{ matrix.browser }}
117+
118+ safari-tests :
119+ name : Browser Tests
120+ needs : build
121+ uses : ./.github/workflows/bazel.yml
122+ strategy :
123+ fail-fast : false
124+ matrix :
125+ include :
126+ - browser : safari
127+ os : macos
128+ with :
129+ name : Integration Tests (${{ matrix.browser }}, ${{ matrix.os }})
130+ browser : ${{ matrix.browser }}
131+ os : ${{ matrix.os }}
132+ cache-key : py-browser-${{ matrix.browser }}
133+ run : |
134+ bazel test --local_test_jobs 1 --flaky_test_attempts 3 //py:test-${{ matrix.browser }}
0 commit comments