File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,13 +15,21 @@ jobs:
1515 uses : actions/setup-python@v2
1616 with :
1717 python-version : 3.8
18+ - name : Set up Node.js
19+ uses : actions/setup-node@v1
20+ with :
21+ node-version : 12.x
1822 - name : Install dependencies
1923 run : |
2024 python -m pip install --upgrade pip
2125 pip install -r local-requirements.txt
22- pip install .
26+ pip install -e .
2327 - name : Lint
2428 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
2533 build :
2634 timeout-minutes : 30
2735 strategy :
5765 python -m pip install --upgrade pip
5866 pip install coveralls
5967 pip install -r local-requirements.txt
60- pip install .
68+ pip install -e .
6169 - name : Build driver
6270 run : python build_driver.py
6371 env :
Original file line number Diff line number Diff line change 2020 run : |
2121 python -m pip install --upgrade pip
2222 pip install -r local-requirements.txt
23- pip install .
23+ pip install -e .
2424 - name : Build driver
2525 run : python build_driver.py
2626 - 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