Skip to content

Commit 95ec3a5

Browse files
committed
feat(ci): use pyproject.toml instead of requirements.txt
1 parent 30a1b41 commit 95ec3a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ jobs:
4646
- name: Install dependencies
4747
run: |
4848
python -m pip install --upgrade pip
49-
pip install flake8 pytest pytest-cov sortedcontainers
50-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
49+
if [ -f pyproject.toml ]; then pip install flake8 '.[test]'; fi
5150
- name: Lint with flake8
5251
run: |
5352
# stop the build if there are Python syntax errors or undefined names

0 commit comments

Comments
 (0)