Skip to content

Commit 32f2e68

Browse files
authored
2 parents 0a2289e + a7f62c3 commit 32f2e68

4 files changed

Lines changed: 667 additions & 19 deletions

File tree

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pages
1+
name: Build docs and deploy to GitHub Pages
22
on:
33
push:
44
paths:
Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
1-
name: build
1+
name: Validate a PR on push to master
22
on:
3+
pull_request:
4+
types: [opened, synchronize, reopened]
35
push:
46
branches:
57
- master
68

79
jobs:
810
build:
9-
name: Build (${{ matrix.name }})
11+
name: Build (${{ matrix.display_name }})
1012
runs-on: ubuntu-latest
1113
strategy:
1214
matrix:
1315
include:
14-
- build_gdal: false
15-
name: default
1616
- build_gdal: true
17-
name: gdal
17+
name: with-gdal
18+
display_name: "with GDAL"
19+
- build_gdal: false
20+
name: without-gdal
21+
display_name: "without GDAL"
1822
steps:
1923
- name: Checkout code
2024
uses: actions/checkout@v6
@@ -40,7 +44,7 @@ jobs:
4044
# Integration Tests - Start container and perform basic health checks
4145
- name: Start GeoServer container
4246
run: |
43-
if [[ "${{ matrix.name }}" == "gdal" ]]; then
47+
if [[ "${{ matrix.build_gdal }}" == "true" ]]; then
4448
# Start GDAL image with extension installation
4549
docker run -d --name geoserver-test-${{ matrix.name }} \
4650
-p 8080:8080 \
@@ -115,7 +119,7 @@ jobs:
115119
116120
- name: Test gdal specific functionality
117121
run: |
118-
if [[ "${{ matrix.name }}" == "gdal" ]]; then
122+
if [[ "${{ matrix.build_gdal }}" == "true" ]]; then
119123
echo "Testing GDAL-specific functionality..."
120124
# Check GDAL installation
121125
docker exec geoserver-test-${{ matrix.name }} which gdalinfo || echo "GDAL tools check"

0 commit comments

Comments
 (0)