Skip to content

Commit

Permalink
CI(OSGeo4W): Test executing of the grass command in bash msys
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Nov 24, 2024
1 parent f3af066 commit c35ac96
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/osgeo4w.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,23 @@ jobs:
shell: msys2 {0}
run: .github/workflows/test_simple.sh
continue-on-error: true # TODO
- name: Test executing of the grass command in bash msys
shell: msys2 {0}
run: |
PWD="$(pwd)"
SRC="${PWD}"
export ARCH=x86_64-w64-mingw32
export PATH="${OSGEO4W_ROOT_MSYS}/bin:/usr/bin:/mingw64/bin:${SRC}/dist.${ARCH}/bin:${SRC}/dist.${ARCH}/$bash_bin:${OSGEO4W_ROOT_MSYS}/apps/grass/grass85/etc"
export PYTHONHOME=${OSGEO4W_ROOT_MSYS}/apps/Python312
export PYTHONHOME="${PYTHONHOME}"
export PYTHONUTF8=1
export GISBASE=${OSGEO4W_ROOT}/apps/grass/grass85
printenv | sort
.github/workflows/test_simple_msys.sh
continue-on-error: true
env:
OSGEO4W_ROOT_MSYS: "/c/OSGeo4W"
OSGEO4W_ROOT: ${{ steps.osgeo4w.outputs.root }}

- name: Install pytest plugins
run: python -m pip install pytest-timeout
Expand Down

0 comments on commit c35ac96

Please sign in to comment.