File tree Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,21 @@ jobs:
15
15
uses : actions/setup-python@v2
16
16
with :
17
17
python-version : 3.8
18
+ - name : Set up Node.js
19
+ uses : actions/setup-node@v1
20
+ with :
21
+ node-version : 12.x
18
22
- name : Install dependencies
19
23
run : |
20
24
python -m pip install --upgrade pip
21
25
pip install -r local-requirements.txt
22
- pip install .
26
+ pip install -e .
23
27
- name : Lint
24
28
run : pre-commit run --all-files
29
+ - name : Build driver
30
+ run : python build_driver.py
31
+ - name : Test Sync generation script
32
+ run : bash buildbots/test-sync-generation.sh
25
33
build :
26
34
timeout-minutes : 30
27
35
strategy :
57
65
python -m pip install --upgrade pip
58
66
pip install coveralls
59
67
pip install -r local-requirements.txt
60
- pip install .
68
+ pip install -e .
61
69
- name : Build driver
62
70
run : python build_driver.py
63
71
env :
Original file line number Diff line number Diff line change 20
20
run : |
21
21
python -m pip install --upgrade pip
22
22
pip install -r local-requirements.txt
23
- pip install .
23
+ pip install -e .
24
24
- name : Build driver
25
25
run : python build_driver.py
26
26
- name : Build package
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ newfile=" sync.py"
4
+ oldfile=" playwright/sync.py"
5
+
6
+ python scripts/generate_sync_api.py > $newfile
7
+
8
+ pre-commit run --files $newfile
9
+
10
+ cmp $oldfile $newfile
11
+ exit_code=$?
12
+
13
+ rm $newfile
14
+
15
+ exit $exit_code
You can’t perform that action at this time.
0 commit comments