File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 66
77
88env :
9- GH_TOKEN : $ {{ secrets.GITHUB_TOKEN }}
10- GITHUB_TOKEN : $ {{ secrets.GITHUB_TOKEN }}
9+ GH_TOKEN : {{ secrets.GITHUB_TOKEN }}
10+ GITHUB_TOKEN : {{ secrets.GITHUB_TOKEN }}
1111
1212jobs :
1313 build :
1818 strategy :
1919 matrix :
2020 os : [ubuntu-latest]
21- python-version : [3.7]
21+ python-version : ["3.10"]
22+ browser : [firefox, chrome]
23+
2224 steps :
2325 - uses : actions/checkout@v2
2426 - name : Install libgl1
2729 sudo apt update
2830 sudo apt install libgl1-mesa-dev libgconf-2-4 libatk1.0-0 libatk-bridge2.0-0 libgdk-pixbuf2.0-0 libgtk-3-0 libgbm-dev libnss3-dev libxss-dev libasound2 -y
2931
30-
3132 - name : Set up Python ${{ matrix.python-version }}
3233 uses : actions/setup-python@v2
3334 with :
@@ -42,14 +43,13 @@ jobs:
4243 pip install .
4344
4445 - uses : browser-actions/setup-chrome@latest
46+ if : ${{ matrix.browser }} == "chrome"
4547 with :
4648 chrome-version : stable
4749
48- - name : Run Tests in Chrome
49- run : |
50- pytest -v -vrxs --headless --browser=chrome
51-
5250 - uses : browser-actions/setup-firefox@latest
53- - name : Run Tests in Firefox
51+ if : ${{ matrix.browser }} == "firefox"
52+
53+ - name : Run Tests in ${{ matrix.browser }}
5454 run : |
55- pytest -v -vrxs --headless --browser=firefox
55+ pytest -v -vrxs --headless --browser=${{ matrix.browser }}
You can’t perform that action at this time.
0 commit comments