Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Update README.rst

Update README.rst #48

Workflow file for this run

name: Django-Francedata CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.8, 3.9]
services:
postgres:
image: postgres:10.8
env:
POSTGRES_USER: sample_user_name
POSTGRES_PASSWORD: sample_password
POSTGRES_DB: sample_db_name
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
steps:
- uses: actions/checkout@v2
- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: 🐘 psycopg2 prerequisites
run: sudo apt install libpq-dev
- name: 👷 Install Dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: 🧪 Run Tests
run: |
poetry run python manage.py test