Skip to content

Commit 1cc57ab

Browse files
install requirements consistently across workflows
1 parent 04dbbae commit 1cc57ab

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/python.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ jobs:
5050
- name: Set up dependencies
5151
run: |
5252
python -m pip install --upgrade pip
53-
pip install cython pytest pytest-skip-slow wheel lxml numpy scipy nbformat nbclient ipykernel
53+
pip install setuptools build cython wheel
54+
pip install -r tests/requirements.txt
55+
pip install -r doc/requirements.txt
5456
- name: Build extension
5557
run: |
5658
python -m pip install -v .
@@ -73,7 +75,9 @@ jobs:
7375
- name: Set up dependencies
7476
run: |
7577
python -m pip install --upgrade pip
76-
pip install cython pytest pytest-skip-slow wheel lxml numpy scipy nbformat nbclient ipykernel
78+
pip install setuptools build cython wheel
79+
pip install -r tests/requirements.txt
80+
pip install -r doc/requirements.txt
7781
- name: Build extension
7882
run: |
7983
python -m pip install -v .
@@ -96,7 +100,9 @@ jobs:
96100
- name: Set up dependencies
97101
run: |
98102
python -m pip install --upgrade pip
99-
pip install cython pytest pytest-skip-slow wheel lxml numpy scipy nbformat nbclient ipykernel
103+
pip install setuptools build cython wheel
104+
pip install -r tests/requirements.txt
105+
pip install -r doc/requirements.txt
100106
- name: Build extension
101107
run: |
102108
python -m pip install -v .

0 commit comments

Comments
 (0)