Skip to content

test added

test added #16

name: Lint
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: install gdal lib
run: sudo apt install libgdal-dev
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[lint]"
- name: Lint with ruff
run: |
ruff check --output-format=github src tests
- name: Format with ruff
run: |
ruff format --check src tests