Skip to content

Commit

Permalink
Fix docker build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
banesullivan committed Jan 28, 2024
1 parent af87100 commit 2f40662
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
python-version: 3.9
- name: Intall dependencies
run: |
pip install -e .
pip install -r requirements.txt
pip install -r docs/requirements.txt
- name: Build Documentation
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Intall dependencies
run: pip install -r requirements.txt
run: |
pip install -e .
pip install -r requirements.txt
- name: Test
run: |
pytest -v --cov=omfvista .
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ FROM ghcr.io/pyvista/pyvista:$BASE_IMAGE_TAG
COPY . ${HOME}
WORKDIR ${HOME}
RUN pip install -r requirements.txt
RUN pip install -e . --no-deps # to avoid pulling wrong VTK
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
-e .
imageio-ffmpeg
ipython
matplotlib
nbval
numpy
omf>=1.0.0
pytest
pytest-cov
vectormath>=0.2.2

0 comments on commit 2f40662

Please sign in to comment.