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:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
with:
@@ -20,15 +20,7 @@ jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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"
- uses: actions/checkout@v7
- name: run tests
run: docker compose run --build --rm api pytest -vv
- name: show logs
+5 -4
View File
@@ -8,7 +8,7 @@ services:
restart: always
ports:
# Exposes application port.
- "8000:8000"
- "8000:8000"
env_file:
- path: .env
required: false
@@ -49,13 +49,14 @@ services:
migrator:
<<: *main_app
restart: "no"
command: piccolo migrations forwards all
command:
- bash
- -c
- "ls && piccolo migrations forwards all"
depends_on:
db:
condition: service_healthy
volumes:
zangramru-db-data:
name: zangramru-db-data