Skip to content

Commit

Permalink
Fix ImportError with Pillow under Windows(#175)
Browse files Browse the repository at this point in the history
See msys2/MINGW-packages#11103 for related issues
  • Loading branch information
1kastner authored Apr 23, 2023
1 parent 708b911 commit b7fb12c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/installation-from-remote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Install from repository
on:
schedule:
- cron: '42 23 * * 3' # every Wednesday at 23:42
pull_request:
types: [opened, reopened, edited, synchronize]

jobs:
build-conda-on-windows:
Expand All @@ -21,15 +23,18 @@ jobs:
with:
auto-update-conda: true
auto-activate-base: true
activate-environment: ""
activate-environment: true
python-version: '3.10'

- name: Install ConFlowGen
run: |
conda info
conda create -n test-install-conflowgen -c conda-forge conflowgen pytest
- name: Run tests
run: |
conda activate test-install-conflowgen
pip install pillow==9.0.0
python -m pytest --pyargs conflowgen
build-conda-on-linux:
Expand All @@ -54,6 +59,7 @@ jobs:
run: |
conda init bash
eval "$(conda shell.bash hook)"
conda info
conda activate base
conda create -n test-install-conflowgen -c conda-forge conflowgen pytest
Expand Down Expand Up @@ -86,6 +92,7 @@ jobs:
- name: Install ConFlowGen
run: |
python -m pip install conflowgen pytest
python -m pip show --verbose conflowgen
- name: Run tests
run: |
Expand Down

0 comments on commit b7fb12c

Please sign in to comment.