Skip to content

Commit

Permalink
ci: use pip install -e rather than setup.py to pick up build reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
jrs65 committed Nov 18, 2023
1 parent 53dcf74 commit 364df19
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ jobs:
run: |
pip install ruff pytest black mpi4py pyinstrument psutil pytest-lazy-fixture
pip install -r requirements.txt
python setup.py develop
pip install .[compression]
pip install -e .[compression]
- name: Run ruff (flake8 and pydocstyle)
run: ruff check .
Expand Down Expand Up @@ -64,7 +63,7 @@ jobs:
pip install zarr==2.11.3
pip install mpi4py numcodecs>=0.7.3 bitshuffle
pip install pytest pytest-lazy-fixture
python setup.py develop
pip install -e .
- name: Run serial tests
run: pytest --doctest-modules caput/
Expand Down Expand Up @@ -97,7 +96,7 @@ jobs:
run: |
pip install -r requirements.txt
pip install -r doc/requirements.txt
python setup.py develop
pip install -e .
- name: Build sphinx docs
run: sphinx-build -W -b html doc/ doc/_build/html

0 comments on commit 364df19

Please sign in to comment.