Bump to version 4.6.0 #510
Workflow file for this run
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: Python CI | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python-version: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install OS dependencies | |
run: | | |
sudo apt update | |
sudo apt install libxml2-dev libxslt-dev | |
sudo apt install postgresql-14-postgis-3 | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
- name: Install project | |
run: | | |
poetry install -E jsonlogger | |
- name: Test with pytest | |
env: | |
TZ: Canada/Pacific | |
run: | | |
poetry run pytest -m "not online" -v --tb=short --cov --cov-report=term-missing |