test file fixes for actions

This commit is contained in:
Stan
2026-08-14 04:30:27 +02:00
parent 73c35cb5c7
commit 55bdeb4d33
+8 -7
View File
@@ -69,18 +69,17 @@ jobs:
- 6379:6379 - 6379:6379
options: --entrypoint redis-server options: --entrypoint redis-server
aws: aws:
image: redis image: ministackorg/ministack:1.4.16
env: env:
SERVICES: sqs SERVICES: sqs
MINISTACK_HOST: aws MINISTACK_HOST: aws
healthcheck: options: >-
test: ["CMD", "wget", "-qO-", "http://localhost:4566/_ministack/ready"] --health-cmd "wget -qO- http://localhost:4566/_ministack/ready || exit 1"
interval: 2s --health-interval 2s
retries: 15 --health-retries 15
--health-timeout 5s
ports: ports:
- 4566:4566 - 4566:4566
volumes:
- ./containers/ministack:/docker-entrypoint-initaws.d
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
@@ -92,6 +91,8 @@ jobs:
python -m pip install uv==0.12.1 python -m pip install uv==0.12.1
uv sync --extra testing --python ${{ matrix.python-version }} uv sync --extra testing --python ${{ matrix.python-version }}
uv pip install "django~=${{ matrix.django }}a1" uv pip install "django~=${{ matrix.django }}a1"
- name: Create SQS queue
run: aws sqs create-queue --queue-name testing
- name: Run Tests - name: Run Tests
run: | run: |
uv run pytest --cov=./django_q --cov-report=xml uv run pytest --cov=./django_q --cov-report=xml