Skip to content

Commit

Permalink
CI(OSGeo4W): Run pytest tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Sep 22, 2024
1 parent f23f74a commit cb8e156
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/osgeo4w.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ jobs:
pdal-devel
pdcurses
proj-devel
python3-jupyter
python3-matplotlib
python3-numpy
python3-ply
python3-pytest
python3-pywin32
python3-wxpython
regex-devel
Expand Down Expand Up @@ -98,6 +100,16 @@ jobs:
shell: msys2 {0}
run: .github/workflows/test_simple.sh

- name: Install pytest plugins
run: python -m pip install pytest-timeout
shell: cmd /D /E:ON /V:OFF /S /C "CALL C:/OSGeo4W/OSGeo4W.bat "{0}""
- name: Run pytest with a single worker
run: |
$Env:PATH = $(C:/OSGeo4W/OSGeo4W.bat grass85 --config python_path);$PYTHONPATH
pytest --verbose --color=yes `
--durations=0 --durations-min=0.5 `
-ra .
- name: Run tests
run: .github/workflows/test_thorough.bat 'C:\OSGeo4W\opt\grass\grass85.bat' 'C:\OSGeo4W\bin\python3'

Expand Down

0 comments on commit cb8e156

Please sign in to comment.