From 55bdeb4d337b9406c0f3d607336e01f7b78121ac Mon Sep 17 00:00:00 2001 From: Stan <1939656+GDay@users.noreply.github.com> Date: Fri, 14 Aug 2026 04:30:27 +0200 Subject: [PATCH] test file fixes for actions --- .github/workflows/test.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d3eae0b..ff7e31c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -69,18 +69,17 @@ jobs: - 6379:6379 options: --entrypoint redis-server aws: - image: redis + image: ministackorg/ministack:1.4.16 env: SERVICES: sqs MINISTACK_HOST: aws - healthcheck: - test: ["CMD", "wget", "-qO-", "http://localhost:4566/_ministack/ready"] - interval: 2s - retries: 15 + options: >- + --health-cmd "wget -qO- http://localhost:4566/_ministack/ready || exit 1" + --health-interval 2s + --health-retries 15 + --health-timeout 5s ports: - 4566:4566 - volumes: - - ./containers/ministack:/docker-entrypoint-initaws.d steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -92,6 +91,8 @@ jobs: python -m pip install uv==0.12.1 uv sync --extra testing --python ${{ matrix.python-version }} uv pip install "django~=${{ matrix.django }}a1" + - name: Create SQS queue + run: aws sqs create-queue --queue-name testing - name: Run Tests run: | uv run pytest --cov=./django_q --cov-report=xml