Skip to content

Commit 342bdce

Browse files
authored
Do not rely on requirements.txt in ci, use .[test,doc] (#566)
This is one step toward not needing those file and having one less command to sugest to users.
1 parent 58530b9 commit 342bdce

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/test.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,13 @@ jobs:
3737
- name: Setup environment
3838
run: |
3939
python -m pip install --upgrade pip wheel setuptools
40-
python -m pip install -r requirements/test.txt -r requirements/doc.txt
4140
python -m pip install codecov
4241
python -m pip install ${{ matrix.sphinx-version }}
4342
python -m pip list
4443
4544
- name: Install
4645
run: |
47-
python -m pip install .
46+
python -m pip install .[test,doc]
4847
pip list
4948
5049
- name: Run test suite
@@ -91,13 +90,12 @@ jobs:
9190
- name: Setup environment
9291
run: |
9392
python -m pip install --upgrade pip wheel setuptools
94-
python -m pip install --pre -r requirements/test.txt -r requirements/doc.txt
9593
python -m pip install codecov
9694
python -m pip list
9795
9896
- name: Install
9997
run: |
100-
python -m pip install .
98+
python -m pip install .[test,doc]
10199
pip list
102100
103101
- name: Run test suite

0 commit comments

Comments
 (0)