Skip to content

Commit

Permalink
Install headless opencv only for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
dnerini committed Apr 3, 2024
1 parent 2646069 commit e4a32c6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/test_pysteps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,19 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install mamba and create environment
- name: Install mamba and create environment for Linux
if: matrix.os == 'ubuntu-latest'
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/ci_test_env.yml
environment-name: test_environment
generate-run-shell: false
create-args: >-
python=${{ matrix.python-version }}
libopencv *=headless*
- name: Install mamba and create environment (not Linux)
if: matrix.os != 'ubuntu-latest'
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/ci_test_env.yml
Expand Down
1 change: 0 additions & 1 deletion ci/ci_test_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ dependencies:
- matplotlib
- netCDF4
- opencv
- libopencv *=headless*
- pillow
- pyproj
- scipy
Expand Down

0 comments on commit e4a32c6

Please sign in to comment.