unmarshal fixes #152
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: e2e-test | |
on: | |
pull_request: | |
jobs: | |
end-to-end-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Build a local test image for re-use across end-to-end tests | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
driver: docker | |
- name: Build test image | |
uses: docker/build-push-action@v5 | |
with: | |
push: false | |
tags: gokoala:local | |
# E2E Test | |
- name: E2E Test => OGC API Features with Azure GeoPackage | |
run: | | |
docker-compose -f ./examples/docker-compose-features-azure.yaml pull \ | |
&& \ | |
docker-compose -f ./examples/docker-compose-features-azure.yaml up \ | |
--no-build --exit-code-from smoketest | |
- name: Start GoKoala test instance | |
run: | | |
docker run \ | |
-v `pwd`/examples:/examples \ | |
--rm --detach -p 8080:8080 \ | |
--name gokoala \ | |
gokoala:local --config-file /examples/config_all.yaml | |
# E2E Test | |
- name: E2E Test => Cypress | |
uses: cypress-io/github-action@v6 | |
with: | |
working-directory: ./tests | |
browser: chrome | |
# E2E Test | |
- name: E2E Test => OGC API Features Conformance Validation | |
run: | | |
sleep 5 | |
docker run --net=host -t -v "$(pwd):/mnt" \ | |
docker.io/pdok/ets-ogcapi-features10-docker:latest \ | |
http://localhost:8080 \ | |
--generateHtmlReport true \ | |
--outputDir /mnt/output \ | |
--exitOnFail \ | |
--prettyPrint | |
- name: Stop GoKoala test instance | |
run: | | |
docker stop gokoala |