Upgrade supported GeoServer versions v2.26.x / v2.25.x #555
Workflow file for this run
This file contains 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: ci-geoserver-node-client | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
run-tests-maintenance: | |
runs-on: ubuntu-latest | |
env: | |
GEOSERVER_VERSION: 2.25.3 | |
steps: | |
- name: Install program "wait-for-it" | |
run: sudo apt install wait-for-it | |
# use Node.js 16 instead of deprecated v12 in Ubuntu image | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- uses: actions/checkout@v4 | |
# In this step, this action saves a list of existing images, | |
# the cache is created without them in the post run. | |
# It also restores the cache if it exists. | |
- uses: satackey/[email protected] | |
# Ignore the failure of a step and avoid terminating the job. | |
continue-on-error: true | |
- run: docker compose -f test/docker-compose.yml up -d | |
# finishes when tomcat of GeoServer is running | |
- run: wait-for-it "localhost:8080" | |
# we use wget to ensure that GeoServer is running | |
- run: wget http://localhost:8080/geoserver/web | |
- run: npm install | |
- run: npm run test | |
run-tests-stable: | |
runs-on: ubuntu-latest | |
env: | |
GEOSERVER_VERSION: 2.26.0 | |
steps: | |
- name: Install program "wait-for-it" | |
run: sudo apt install wait-for-it | |
# use Node.js 16 instead of deprecated v12 in Ubuntu image | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- uses: actions/checkout@v4 | |
# In this step, this action saves a list of existing images, | |
# the cache is created without them in the post run. | |
# It also restores the cache if it exists. | |
- uses: satackey/[email protected] | |
# Ignore the failure of a step and avoid terminating the job. | |
continue-on-error: true | |
- run: docker compose -f test/docker-compose.yml up -d | |
# finishes when tomcat of GeoServer is running | |
- run: wait-for-it "localhost:8080" | |
# we use wget to ensure that GeoServer is running | |
- run: wget http://localhost:8080/geoserver/web | |
- run: npm install | |
- run: npm run test |