Skip to content

Commit 77b58d9

Browse files
authored
in pre-commit-check install only dev dependencies (#14)
* in pre-commit-check install only dev dependencies * fix step name
1 parent e3d7b35 commit 77b58d9

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/verify-buildability.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
env:
1616
PIP_USE_PEP517: '1'
17+
REQUIREMENTS_FILE: 'requirements.dev.txt'
1718
steps:
1819
- name: Checkout sources
1920
id: checkout-sources
@@ -26,8 +27,14 @@ jobs:
2627
cache: pip
2728
cache-dependency-path: pyproject.toml
2829

29-
- name: install dev dependencies
30-
run: pip3 install ".[dev]"
30+
- name: install pip-tools
31+
run: pip3 install pip-tools
32+
33+
- name: create dev requirements
34+
run: pip-compile --upgrade --extra=dev -o $REQUIREMENTS_FILE
35+
36+
- name: install dev requirements
37+
run: pip3 install -r $REQUIREMENTS_FILE
3138

3239
- name: run pre-commit-check
3340
run: >

0 commit comments

Comments
 (0)