From be418029bd390ba93f24069c1f0452d915cf0faf Mon Sep 17 00:00:00 2001 From: Son Date: Sun, 15 Aug 2021 21:49:56 +0200 Subject: [PATCH] fix github ci --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5256b69e..2a3bfbdf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,11 +25,11 @@ jobs: # required POSTGRES_PASSWORD: test # optional (defaults to `5432`) - POSTGRES_PORT: 15432 + POSTGRES_PORT: 5432 # optional (defaults to `postgres`) POSTGRES_USER: test ports: - - 15432:15432 + - 15432:5432 # set health checks to wait until postgres has started options: >- --health-cmd pg_isready @@ -63,6 +63,7 @@ jobs: poetry run black --check . flake8 + - name: Test with pytest run: | pytest --cov=. --cov-report=term:skip-covered --cov-report=html:htmlcov --cov-fail-under=60