diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index a14841a..c685ace 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -14,12 +14,7 @@ jobs: docker build --cache-from ${{ env.CACHE_IMAGE }} --tag ${{ env.BUILD_IMAGE }} . - name: Run tests - run: >- - mkdir ./tests_zen_project/zen-packages/ && - ls -la ./tests_zen_project && - id && - chmod -R 0666 ./tests_zen_project && - ./run_test.sh + run: ./run_test.sh - name: Show logs if: ${{ failure() }} run: docker-compose -f docker-compose.tests.yaml logs diff --git a/docker-compose.tests.yaml b/docker-compose.tests.yaml index ccf8498..cf1814d 100644 --- a/docker-compose.tests.yaml +++ b/docker-compose.tests.yaml @@ -46,7 +46,8 @@ services: environment: AIDBOX_LICENSE: ${TESTS_AIDBOX_LICENSE} volumes: - - "./tests_zen_project:/aidbox-project" + - ./tests_zen_project:/aidbox-project + - zen-packages:/aidbox-project/zen-packages aidbox-db: image: healthsamurai/aidboxdb:13.2 environment: @@ -58,4 +59,5 @@ services: fhirpath_mapping: image: bedasoftware/fhirpath-extract:main - +volumes: + zen-packages: