Skip to content

Commit 0eade2c

Browse files
committed
dev: refine requirements
1 parent 431e31e commit 0eade2c

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
cache-dependency-path: dev-requirements.txt
2020
- name: Install dependencies
2121
run: |
22-
python -m pip install -U pip wheel
22+
python -m pip install -U pip
2323
python -m pip install -r dev-requirements.txt
2424
- name: Tests
2525
run: ./check.sh
@@ -33,11 +33,11 @@ jobs:
3333
with:
3434
python-version: "3.x"
3535
cache: pip
36-
cache-dependency-path: dev-requirements.txt
36+
cache-dependency-path: tests-requirements.txt
3737
- name: Install test dependencies
3838
run: |
39-
python -m pip install -U pip wheel
40-
python -m pip install -r dev-requirements.txt
39+
python -m pip install -U pip
40+
python -m pip install -r tests-requirements.txt
4141
- name: Tests
4242
run: |
4343
sphinx-build -d docs docs/source docs_out --color -W -bhtml

dev-requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
-r tests-requirements.txt
21
black
32
build
43
flake8
54
mypy
65
pylint
7-
sphinx
86
twine
97
wheel

tests-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
-e .
21
pytest
32
pytest-cov
43
numpy
54
pillow
5+
sphinx
66
xvfbwrapper; sys_platform == "linux"

0 commit comments

Comments
 (0)