Skip to content

fix ansible

fix ansible #395

Workflow file for this run

name: Run tests for Django-init
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
services:
postgres:
image: postgres:13
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: hello_world
ports:
- 5432:5432
# needed because the postgres container does not provide a healthcheck
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/hello_world
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: "3.9"
cache: "pip"
- name: Install cookiecutter and poetry
run: |
python -m pip install --upgrade pip
pip3 install cookiecutter==2.1.1 poetry==1.7.1
- name: Run tests
run: bash run_test.sh