16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- uses : actions/checkout@v2
19
- - uses : microsoft/playwright-github-action@v1
20
19
- name : Set up Python
21
20
uses : actions/setup-python@v2
22
21
with :
26
25
python -m pip install --upgrade pip
27
26
pip install -r local-requirements.txt
28
27
pip install -e .
29
- - name : Build package
30
- run : python setup.py bdist_wheel
28
+ python setup.py bdist_wheel
29
+ python -m playwright install-deps
31
30
- name : Install browsers
32
31
run : python -m playwright install
33
32
- name : Lint
@@ -74,18 +73,17 @@ jobs:
74
73
runs-on : ${{ matrix.os }}
75
74
steps :
76
75
- uses : actions/checkout@v2
77
- - uses : microsoft/playwright-github-action@v1
78
76
- name : Set up Python
79
77
uses : actions/setup-python@v2
80
78
with :
81
79
python-version : ${{ matrix.python-version }}
82
80
- name : Install dependencies
83
81
run : |
84
- python -m pip install --upgrade pip wheel
82
+ python -m pip install --upgrade pip
85
83
pip install -r local-requirements.txt
86
84
pip install -e .
87
- - name : Build package
88
- run : python setup.py bdist_wheel
85
+ python setup.py bdist_wheel
86
+ python -m playwright install-deps
89
87
- name : Install browsers
90
88
run : python -m playwright install
91
89
- name : Common Tests
@@ -123,18 +121,17 @@ jobs:
123
121
shell : powershell
124
122
run : Install-WindowsFeature Server-Media-Foundation
125
123
- uses : actions/checkout@v2
126
- - uses : microsoft/playwright-github-action@v1
127
124
- name : Set up Python
128
125
uses : actions/setup-python@v2
129
126
with :
130
127
python-version : 3.8
131
128
- name : Install dependencies
132
129
run : |
133
- python -m pip install --upgrade pip wheel
130
+ python -m pip install --upgrade pip
134
131
pip install -r local-requirements.txt
135
132
pip install -e .
136
- - name : Build package
137
- run : python setup.py bdist_wheel
133
+ python setup.py bdist_wheel
134
+ python -m playwright install-deps
138
135
- name : Install ffmpeg
139
136
run : python -m playwright install ffmpeg
140
137
- name : Common Tests
@@ -158,7 +155,6 @@ jobs:
158
155
timeout-minutes : 30
159
156
steps :
160
157
- uses : actions/checkout@v2
161
- - uses : microsoft/playwright-github-action@v1
162
158
- name : Set up Node.js
163
159
uses : actions/setup-node@v1
164
160
with :
@@ -172,7 +168,7 @@ jobs:
172
168
python -m pip install --upgrade pip
173
169
pip install -r local-requirements.txt
174
170
pip install -e .
175
- - name : Build package
176
- run : python setup.py bdist_wheel
171
+ python setup.py bdist_wheel
172
+ python -m playwright install-deps
177
173
- name : Test package installation
178
174
run : bash buildbots/test-package-installations.sh
0 commit comments