From b5c22c1b58a2b0596d15d4593b04d98b71ebf37c Mon Sep 17 00:00:00 2001 From: Maximilian Jugl Date: Wed, 31 Jan 2024 14:38:31 +0100 Subject: [PATCH] fix: run test setup and execution in Poetry environment --- .github/workflows/integration-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index b20cb90..72e4fd2 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -29,9 +29,9 @@ jobs: - name: Install dependencies run: poetry install - name: Create local bucket - run: flame-result migrate --no-verify "$MINIO_SERVER_ACCESS_KEY" "$MINIO_SERVER_SECRET_KEY" "$MINIO_LOCAL_BUCKET_NAME" + run: poetry run flame-result migrate --no-verify "$MINIO_SERVER_ACCESS_KEY" "$MINIO_SERVER_SECRET_KEY" "$MINIO_LOCAL_BUCKET_NAME" - name: Create remote bucket - run: flame-result migrate --no-verify "$MINIO_SERVER_ACCESS_KEY" "$MINIO_SERVER_SECRET_KEY" "$MINIO_REMOTE_BUCKET_NAME" + run: poetry run flame-result migrate --no-verify "$MINIO_SERVER_ACCESS_KEY" "$MINIO_SERVER_SECRET_KEY" "$MINIO_REMOTE_BUCKET_NAME" - name: Run tests run: PYTEST__MINIO__ACCESS_KEY="$MINIO_SERVER_ACCESS_KEY" \ PYTEST__MINIO__SECRET_KEY="$MINIO_SERVER_SECRET_KEY" \ @@ -41,7 +41,7 @@ jobs: PYTEST__REMOTE__SECRET_KEY="$MINIO_SERVER_SECRET_KEY" \ PYTEST__REMOTE__BUCKET="$MINIO_REMOTE_BUCKET_NAME" \ PYTEST__REMOTE__ENDPOINT="localhost:9000" \ - pytest + poetry run pytest services: minio: