Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ljgray committed Jul 31, 2024
1 parent eb26bcb commit 03782cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ jobs:
- name: Install pip dependencies
run: |
pip install ruff pytest black mpi4py pyinstrument psutil pytest-lazy-fixtures
pip install -r requirements.txt
pip install -e .
pip install -e .[mpi]
pip install -e .[profiling]
pip install -e .[lint]
pip install -e .[test]
pip install -e .[compression]
- name: Run ruff (flake8 and pydocstyle)
Expand Down Expand Up @@ -58,12 +61,10 @@ jobs:

- name: Install pip dependencies
run: |
pip install h5py
pip install -r requirements.txt
pip install zarr==2.11.3
pip install mpi4py numcodecs>=0.7.3 bitshuffle
pip install pytest pytest-lazy-fixtures
pip install -e .
pip install -e .[mpi]
pip install -e .[compression]
pip install -e .[test]
- name: Run serial tests
run: pytest --doctest-modules caput/
Expand Down Expand Up @@ -94,8 +95,8 @@ jobs:
- name: Install pip dependencies
run: |
pip install .[doc]
pip install -e .
pip install -e .[doc]
- name: Build sphinx docs
run: sphinx-build -W -b html doc/ doc/_build/html
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ mpi = ["mpi4py>=1.3"]
compression = ["bitshuffle", "numcodecs>=0.7.3", "zarr>=2.11.0"]
profiling = ["pyinstrument"]
doc = ["Sphinx>=5.0", "sphinx_rtd_theme", "funcsigs", "mock"]
lint = ["ruff", "black"]
test = ["pytest", "pytest-lazy-fixtures"]

[project.urls]
Documentation = "https://caput.readthedocs.io/"
Expand Down

0 comments on commit 03782cc

Please sign in to comment.