diff --git a/.github/workflows/TestExamples.yml b/.github/workflows/TestExamples.yml index be8c206..9bb992b 100644 --- a/.github/workflows/TestExamples.yml +++ b/.github/workflows/TestExamples.yml @@ -11,9 +11,11 @@ env: WORKING_DIR: ./examples/ MAPPING_URL: 'https://github.com/Mat-O-Lab/MapToMethod/raw/main/examples/example-map.yaml' PARSER_PORT: 3001 + APP_MODE: "development" APP_PORT: 5003 MAPPER_PORT: 4000 - CONVERTER_PORT: 6000 + CONVERTER_PORT: 5000 + SSL_VERIFY: False jobs: TestExamples: @@ -24,13 +26,18 @@ jobs: fetch-depth: 0 - name: run app run: | - docker-compose up -d + docker-compose -f docker-compose.develop.yml up -d sleep 20 docker ps -a - name: parse mapping to YARRRML parser working-directory: ${{env.WORKING_DIR}} + continue-on-error: true run: | curl -X POST "http://localhost:${{env.APP_PORT}}/api/yarrrmltorml" -H "accept: text/turtle" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"mapping_url\":\"${{env.MAPPING_URL}}\"}" > example.rml + - name: print logs + if: always() + run: | + docker-compose logs - name: join the method and the data meta graph working-directory: ${{env.WORKING_DIR}} run: |