msautotest updates (#7380) #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and test Python MapScript | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| except: | |
| - /^(cherry-pick-)?backport-\d+-to-/ | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.9, "3.10", 3.11, 3.12, 3.13] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Set up Python and Install Dependencies | |
| run: | | |
| docker run \ | |
| -e WORK_DIR="$PWD" \ | |
| -e PYTHON_VERSION="${{ matrix.python-version }}" \ | |
| -e MAPSCRIPT_PYTHON_ONLY="true" \ | |
| -v $PWD:$PWD ubuntu:24.04 $PWD/scripts/build-mapscript-python.sh |