Skip to content

Bump to v6.1.1

Bump to v6.1.1 #502

Workflow file for this run

name: Build and test
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
services:
db:
image: barrydanielsnl/postgres14
env:
POSTGRES_DB: cicd
POSTGRES_USER: dataservices
POSTGRES_PASSWORD: insecure
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt update -y
sudo apt install -y libgdal30
python -m pip install --upgrade pip
python -m pip install .[django,tests]
- name: Test
run: |
pytest tests
env:
DATABASE_URL: postgresql://dataservices:insecure@localhost:5432/cicd