Skip to content

Upgrade supported GeoServer versions v2.26.x / v2.25.x #557

Upgrade supported GeoServer versions v2.26.x / v2.25.x

Upgrade supported GeoServer versions v2.26.x / v2.25.x #557

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
TMPDIR: ${{ runner.temp }}

Check failure on line 14 in .github/workflows/ci-geoserver-node-client.yml

View workflow run for this annotation

GitHub Actions / ci-geoserver-node-client

Invalid workflow file

The workflow is not valid. .github/workflows/ci-geoserver-node-client.yml (Line: 14, Col: 15): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.temp .github/workflows/ci-geoserver-node-client.yml (Line: 48, Col: 15): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.temp
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
TMPDIR: ${{ runner.temp }}
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