ci: speed up postgres when testing api

1976-update-documentation-links-in-readme-files
jo 2023-04-14 16:04:17 +02:00 zatwierdzone przez jooola
rodzic f35e09e593
commit dde89def2b
1 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -216,8 +216,12 @@ test_api:
matrix:
- PYTHON_VERSION: ["3.8", "3.9", "3.10", "3.11"]
services:
- postgres:15-alpine
- redis:7-alpine
- name: postgres:15-alpine
command:
- --fsync=off
- --full_page_writes=off
- --synchronous_commit=off
- name: redis:7-alpine
cache: *api_cache
variables:
DATABASE_URL: "postgresql://postgres@postgres/postgres"