Possible tests fix.
Testing zangramru / lint (push) Failing after 48s
Testing zangramru / pytest (push) Failing after 43s

Signed-off-by: Pavel Kirilin <s3riussan@gmail.com>
This commit is contained in:
2026-07-02 13:23:39 +02:00
parent f89a031997
commit 27c275bccb
2 changed files with 7 additions and 14 deletions
+2 -10
View File
@@ -6,7 +6,7 @@ jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v7
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v6 uses: actions/setup-python@v6
with: with:
@@ -20,15 +20,7 @@ jobs:
pytest: pytest:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Update docker-compose
uses: KengoTODA/actions-setup-docker-compose@v1
with:
version: "2.28.0"
- name: run tests - name: run tests
run: docker compose run --build --rm api pytest -vv run: docker compose run --build --rm api pytest -vv
- name: show logs - name: show logs
+4 -3
View File
@@ -49,13 +49,14 @@ services:
migrator: migrator:
<<: *main_app <<: *main_app
restart: "no" restart: "no"
command: piccolo migrations forwards all command:
- bash
- -c
- "ls && piccolo migrations forwards all"
depends_on: depends_on:
db: db:
condition: service_healthy condition: service_healthy
volumes: volumes:
zangramru-db-data: zangramru-db-data:
name: zangramru-db-data name: zangramru-db-data