[mssql] When renaming/moving tables, also update geometry_columns metadata table #32381
Workflow file for this run
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: 🗺 OGC tests for QGIS Server | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - release-** | |
| - queued_ltr_backports | |
| paths: | |
| - 'src/core/**' | |
| - 'src/auth/**' | |
| - 'src/providers/**' | |
| - 'src/server/**' | |
| - 'src/CMakeLists.txt' | |
| - 'external/**' | |
| - 'CMakeLists.txt' | |
| - '.github/workflows/ogc.yml' | |
| - '.ci/ogc/**' | |
| pull_request: | |
| branches: | |
| - master | |
| - release-** | |
| paths: | |
| - 'src/core/**' | |
| - 'src/auth/**' | |
| - 'src/providers/**' | |
| - 'src/server/**' | |
| - 'src/CMakeLists.txt' | |
| - 'external/**' | |
| - 'CMakeLists.txt' | |
| - '.github/workflows/ogc.yml' | |
| - '.ci/ogc/**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Restore build cache | |
| uses: actions/cache/restore@v5 | |
| with: | |
| path: /home/runner/QGIS/.ccache | |
| key: build-ccache-ogc-${{ github.event.pull_request.base.ref || github.ref_name }} | |
| restore-keys: | | |
| build-ccache-ogc-master | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build Docker Container | |
| id: docker-build | |
| uses: docker/build-push-action@v6 | |
| with: | |
| tags: qgis/qgis-deps-ogc:${{ github.event.pull_request.base.ref || github.ref_name }} | |
| context: .ci/ogc | |
| file: .ci/ogc/Dockerfile | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| load: true | |
| - name: Run build | |
| run: | | |
| docker run -v $(pwd):/usr/src/qgis -v /home/runner/QGIS/.ccache:/root/.ccache ${DOCKER_IMAGE} /usr/src/qgis/.ci/ogc/build.sh | |
| env: | |
| DOCKER_IMAGE: ${{ steps.docker-build.outputs.imageid }} | |
| - name: Save build cache for push only | |
| uses: actions/cache/save@v5 | |
| if: ${{ github.event_name == 'push' }} | |
| with: | |
| path: /home/runner/QGIS/.ccache | |
| key: build-ccache-ogc-${{ github.ref_name }}-${{ github.run_id }} | |
| - name: Install pyogctest | |
| run: | | |
| sudo apt-get update && sudo apt-get install python3-virtualenv virtualenv | |
| virtualenv -p /usr/bin/python3 venv && source venv/bin/activate && pip install pyogctest | |
| - name: Run WMS 1.3.0 OGC tests | |
| run: | | |
| source venv/bin/activate && pyogctest -s wms130 -e | |
| docker compose -f .ci/ogc/docker-compose.yml up -d | |
| source venv/bin/activate && pyogctest -n ogc_qgis -s wms130 -v -u http://$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' qgis_server_nginx)/qgisserver_wms130 | |
| env: | |
| DOCKER_IMAGE: ${{ steps.docker-build.outputs.imageid }} | |
| - name: Run OGC API Features 1.0 tests | |
| run: | | |
| cd data && git clone https://github.com/qgis/QGIS-Training-Data && cd - | |
| docker compose -f .ci/ogc/docker-compose.yml up -d | |
| source venv/bin/activate && pyogctest -n ogc_qgis -s ogcapif -v -u http://$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' qgis_server_nginx)/qgisserver_ogcapif | |
| env: | |
| DOCKER_IMAGE: ${{ steps.docker-build.outputs.imageid }} |