Add clusteringPixelSizeThreshold + memory monitoring (#363) #503
This file contains hidden or 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: slim/container-tests | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| build-and-test-containers: | |
| name: "Build and test containers" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4.2.2 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4.4.0 | |
| with: | |
| node-version: 20.8.1 | |
| - 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' | |
| - name: Wildfly internal server.log | |
| if: always() | |
| run: | | |
| docker cp dcm4chee-arc:/opt/wildfly/standalone/log/server.log ./server.log || echo "Log not found" | |
| cat ./server.log || echo "Log not found" |