Land Cover Release #1136
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: OWS DEV CFG Test | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'dev/services/wms/**' | |
- .github/workflows/ows_cfg_testing_dev.yaml | |
- 'docker/database/**' | |
- 'docker-compose.ows.yaml' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'dev/services/wms/**' | |
- .github/workflows/ows_cfg_testing_dev.yaml | |
- 'docker/database/**' | |
- 'docker-compose.ows.yaml' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run ows_refactored_cfg test (dev) | |
run: | | |
docker compose -f docker-compose.ows.yaml up -d | |
docker compose -f docker-compose.ows.yaml exec -T ows /bin/sh -c "datacube system init" | |
docker compose -f docker-compose.ows.yaml exec -T ows /bin/sh -c "cd /dea-config; ./compare-cfg.sh" | |
docker compose -f docker-compose.ows.yaml down | |
env: | |
OWS_CFG_PATH: dev/services/wms/ows_refactored | |
PYTHON_PATH: dev/services/wms/ | |
DATACUBE_OWS_CFG: ows_refactored.ows_root_cfg.ows_cfg |