Skip to content

Setup testing

Setup testing #10

Workflow file for this run

name: tests
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
conda install -c conda-forge -y gdal
pip install .[dev]
- name: Test with pytest via coverage
run: |
coverage run -m pytest
coverage report -m