Update package.json (#168) #142
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: container tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-and-test-containers: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build and run containers using docker compose | |
run: docker-compose up -d | |
- name: Test web page | |
run: | | |
curl -sI http://localhost:8008/ | grep -o '200 OK' | |
curl -s http://localhost:8008/ | grep -o '<title>Slim</title>' | |
- name: Test DICOMweb service | |
run: | | |
sleep 20 | |
curl -sI http://localhost:8008/dcm4chee-arc/aets/DCM4CHEE/rs/studies | grep -o '204 No Content' |