Back to development: 1.5.3 #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
# 2019 | |
- python: 3.8 | |
pins: "" | |
# 2021 | |
- python: 3.9 | |
pins: "" | |
# 2022 | |
- python: "3.10" | |
pins: "sqlalchemy==1.4.*" | |
# current | |
- python: "3.11" | |
pins: "" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install sqlite3 and spatialite | |
run: | | |
sudo apt-get install --yes --no-install-recommends sqlite3 libsqlite3-mod-spatialite | |
- name: Install python dependencies | |
run: | | |
pip install --disable-pip-version-check --upgrade pip setuptools | |
pip install -e .[test] ${{ matrix.pins }} | |
pip list | |
- name: Run tests | |
run: pytest --cov hydxlib | |