Skip to content

Commit

Permalink
Do not rely on requirements.txt in ci, use .[test,doc] (#566)
Browse files Browse the repository at this point in the history
This is one step toward not needing those file and having one less
command to sugest to users.
  • Loading branch information
Carreau authored Jun 12, 2024
1 parent 58530b9 commit 342bdce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,13 @@ jobs:
- name: Setup environment
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install -r requirements/test.txt -r requirements/doc.txt
python -m pip install codecov
python -m pip install ${{ matrix.sphinx-version }}
python -m pip list
- name: Install
run: |
python -m pip install .
python -m pip install .[test,doc]
pip list
- name: Run test suite
Expand Down Expand Up @@ -91,13 +90,12 @@ jobs:
- name: Setup environment
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install --pre -r requirements/test.txt -r requirements/doc.txt
python -m pip install codecov
python -m pip list
- name: Install
run: |
python -m pip install .
python -m pip install .[test,doc]
pip list
- name: Run test suite
Expand Down

0 comments on commit 342bdce

Please sign in to comment.