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

Python Requirements Update #356

Python Requirements Update

Python Requirements Update #356

Workflow file for this run

name: Python CI
on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
run_tests:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python-version: [3.8]
toxenv: [django32]
services:
postgres:
image: postgres:10.8
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
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@v1
- name: setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U pip wheel
make requirements
- name: Install tox
run: pip install tox
- name: Run Tests
env:
TOXENV: ${{ matrix.toxenv }}
run: |
tox