Skip to content

adjust versions (#641) #49

adjust versions (#641)

adjust versions (#641) #49

Workflow file for this run

name: CI Test
on:
pull_request:
branches: [ "master" ]
push:
branches: [ "master" ]
jobs:
matrix:
name: Unittest Matrix
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.7"]
django: [ "1.11", "2.2",]
services:
postgres:
image: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
env:
# Docker image requires a password to be set
POSTGRES_PASSWORD: "postgres"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- run: pip install "setuptools<57.0.0" "pip<23.0" tox
- run: tox -v -- -v
env:
TOXENV: py${{ matrix.python-version }}-django${{ matrix.django }}