Skip to content

Make friction_value in CrossSectionLocation table nullable (#51) #142

Make friction_value in CrossSectionLocation table nullable (#51)

Make friction_value in CrossSectionLocation table nullable (#51) #142

Workflow file for this run

name: Linux
# Run on PR requests. And on master itself.
on:
push:
branches:
- master
pull_request:
jobs:
TestLinux:
name: Linux, Python ${{ matrix.python }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
# 2019
- python: 3.8
os: ubuntu-20.04
pins: "sqlalchemy==1.4.0 alembic==1.8.* geoalchemy2==0.9.*"
# 2021
- python: 3.9
os: ubuntu-20.04
pins: "sqlalchemy==1.4.30 alembic==1.8.* geoalchemy2==0.10.*"
# 2022
- python: "3.10"
os: ubuntu-22.04
pins: "sqlalchemy==1.4.44 alembic==1.8.* geoalchemy2==0.12.*"
# current
- python: "3.11"
os: ubuntu-latest
pins: ""
pytestargs: "-Werror"
steps:
- uses: actions/checkout@v3
with:
lfs: true
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install sqlite3 and spatialite
run: |
sudo apt update
sudo apt install --yes --no-install-recommends sqlite3 libsqlite3-mod-spatialite
- name: Install python dependencies
shell: bash
run: |
pip install --disable-pip-version-check --upgrade pip setuptools wheel
pip install ${{ matrix.pins }} .[test,cli]
pip list
- name: Run tests
shell: bash
run: |
pytest ${{ matrix.pytestargs }}