Skip to content

Commit

Permalink
add "cs" dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
gertjanvanzwieten committed Jun 12, 2024
1 parent 6a25469 commit efe04ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ jobs:
- name: Install Graphviz
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt install -y graphviz
- name: Install LibGLU
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt install -y libglu1
- name: Install Nutils and dependencies
id: install
env:
Expand All @@ -93,7 +96,7 @@ jobs:
python -um pip install --upgrade --upgrade-strategy eager wheel
python -um pip install --upgrade --upgrade-strategy eager numpy$_numpy_version
# Install Nutils from `dist` dir created in job `build-python-package`.
python -um pip install "$_wheel[import_gmsh,export_mpl]"
python -um pip install "$_wheel[import_gmsh,export_mpl,cs]"
- name: Install Scipy
if: ${{ matrix.matrix-backend == 'scipy' }}
run: python -um pip install --upgrade scipy
Expand Down Expand Up @@ -167,12 +170,15 @@ jobs:
with:
name: python-package
path: dist/
- name: Install LibGLU
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt install -y libglu1
- name: Install Nutils and dependencies
id: install
run: |
python -um pip install --upgrade --upgrade-strategy eager wheel
# Install Nutils from `dist` dir created in job `build-python-package`.
python -um pip install "$_wheel[matrix_scipy,export_mpl]"
python -um pip install "$_wheel[matrix_scipy,export_mpl,cs]"
- name: Test
run: python -um unittest discover -b -q -t . -s examples
test-sphinx:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export_mpl = ["matplotlib >=3.3,<4"]
matrix_mkl = ["mkl"]
matrix_scipy = ["scipy >=0.13,<2"]
import_gmsh = ["meshio >=4,<6"]
cs = ["gmsh>=4", "meshio>=5"]

[build-system]
requires = ["flit_core >=3.2,<4"]
Expand Down

0 comments on commit efe04ca

Please sign in to comment.