Add dev docker-compose file to manage supporting services (#525) #176
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: Test nginx config | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
fetch-tags: true | |
submodules: recursive | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.12.0 | |
- run: cd test && npm i | |
- run: cd test && ./run-tests.sh | |
- if: always() | |
run: docker logs test-nginx-1 || true | |
- if: always() | |
run: docker logs test-service-1 || true | |
- if: always() | |
run: docker logs test-enketo-1 || true |