Skip to content

Commit

Permalink
Update the GeoSever versions the plugin is tested against
Browse files Browse the repository at this point in the history
Test the plugin against the following GeoServer versions:

* dev: `2.26-SNAPSHOT`
* stable: `2.25.0`
* maintenance: `2.24.2`
  • Loading branch information
groldan committed Mar 23, 2024
1 parent 4c7f491 commit 0c90dcd
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/build-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
test-gs-dev-plugin:
name: GeoServer dev plugin tests
name: Test plugin for GeoServer dev version
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
Expand All @@ -22,7 +22,7 @@ jobs:
- run: |
make plugin-test-gs-dev
test-gs-stable-plugin:
name: GeoServer stable plugin tests
name: Test plugin for GeoServer stable version
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
Expand All @@ -34,4 +34,17 @@ jobs:
cache: 'maven'
- run: |
make plugin-test-gs-stable
test-gs-maintenance-plugin:
name: Test plugin for GeoServer maintenance version
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- run: |
make plugin-test-gs-maintenance
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ plugin-test-gs-dev:
plugin-test-gs-stable:
./mvnw -P gs_stable verify -pl :gs-acl-client-plugin -am -ntp

plugin-test-gs-maintenance:
./mvnw -P gs_maintenance verify -pl :gs-acl-client-plugin -am -ntp

lint:
./mvnw sortpom:verify fmt:check -ntp

Expand Down
10 changes: 10 additions & 0 deletions src/plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,5 +182,15 @@
<gt.version>31.0</gt.version>
</properties>
</profile>
<profile>
<id>gs_maintenance</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<gs.version>2.24.2</gs.version>
<gt.version>30.2</gt.version>
</properties>
</profile>
</profiles>
</project>

0 comments on commit 0c90dcd

Please sign in to comment.