Skip to content

Commit

Permalink
Merge pull request #57 from groldan/plugin/update_test_versions
Browse files Browse the repository at this point in the history
Update the GeoSever versions the plugin is tested against
  • Loading branch information
groldan authored Mar 23, 2024
2 parents 9c6a170 + 9a2b211 commit 4bc584a
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: 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: 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: 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 4bc584a

Please sign in to comment.