Skip to content

failing

failing #14

Workflow file for this run

name: CI-TEST
on: pull_request
jobs:
ci:
runs-on: ubuntu-22.04
services:
postgres:
image: postgres:13
ports:
- 5432:5432
env:
POSTGRES_USER: testuser
POSTGRES_PASSWORD: testpassword
POSTGRES_DB: testdb
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.7.1
- name: install dependencies
working-directory: flask-project
run: poetry install
- name: Run tests
working-directory: flask-project
env:
TEST_POSTGRES_CONNECTION_STRING_TEST: postgresql://testuser:testpassword@localhost:5432/testdb
run: poetry run pytest