Skip to content

Commit

Permalink
Use docker volume for zen-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ir4y committed Sep 7, 2023
1 parent 6fe87c8 commit fd4689f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions docker-compose.tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -58,4 +59,5 @@ services:
fhirpath_mapping:
image: bedasoftware/fhirpath-extract:main


volumes:
zen-packages:

0 comments on commit fd4689f

Please sign in to comment.