From fd4689f3ec765dd308d6f604b5aaf8ca57b0f6b0 Mon Sep 17 00:00:00 2001 From: Ilya Beda Date: Thu, 7 Sep 2023 19:14:24 +1000 Subject: [PATCH] Use docker volume for zen-packages --- .github/workflows/github-actions.yml | 7 +------ docker-compose.tests.yaml | 6 ++++-- 2 files changed, 5 insertions(+), 8 deletions(-) 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: