From 9d700c2ae0d766f21fdddfc1b87df1dc0f32724b Mon Sep 17 00:00:00 2001 From: Ilya Beda Date: Thu, 7 Sep 2023 18:44:00 +1000 Subject: [PATCH] Move zen deps initialization to ci/cd manifest --- .github/workflows/github-actions.yml | 5 ++++- run_test.sh | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index e028326..82480e7 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -14,7 +14,10 @@ jobs: docker build --cache-from ${{ env.CACHE_IMAGE }} --tag ${{ env.BUILD_IMAGE }} . - name: Run tests - run: ./run_test.sh + run: >- + mkdir -p ./tests_zen_project/zen-packages/ && + chmod 0666 ./tests_zen_project/zen-packages/ && + ./run_test.sh - name: Login to Docker Hub uses: docker/login-action@v1 with: diff --git a/run_test.sh b/run_test.sh index 541637d..4c4b48c 100755 --- a/run_test.sh +++ b/run_test.sh @@ -14,6 +14,5 @@ export TEST_COMMAND="pipenv run pytest --cov-report html --cov-report term:skip- COMPOSE_FILES="-f docker-compose.tests.yaml" docker compose -f docker-compose.tests.yaml build -mkdir -p ./tests_zen_project/zen-packages/ docker compose $COMPOSE_FILES up --exit-code-from backend backend exit $?