Skip to content

feat(response): add geometry filter #264

feat(response): add geometry filter

feat(response): add geometry filter #264

name: Continuous Integration for development
on: pull_request
jobs:
lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- name: Install python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install lint dependencies
run: |
pip install pre-commit black
- name: Install and run pre-commit
uses: pre-commit/action@v3.0.1
test:
runs-on: ubuntu-24.04
needs:
- lint
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v5
- name: Set up testing python ${{ matrix.config.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.config.python-version }}
- name: Install poetry
uses: abatilo/actions-poetry@v4
- name: Setup a local virtual environment for caching
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- name: Define a cache for the virtual environment based on the dependencies lock file to speed up later runs
uses: actions/cache@v4
with:
path: ./.venv
key: venv-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
run: poetry install --no-root --without dev
- name: Pytest
run: poetry run pytest -x --random-order