Skip to content

Commit

Permalink
fix: run test setup and execution in Poetry environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mjugl committed Jan 31, 2024
1 parent b48e9a7 commit b5c22c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand All @@ -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:
Expand Down

0 comments on commit b5c22c1

Please sign in to comment.