Skip to content

Add IndexRaster for gridding on reduced weighted rasters #56

Add IndexRaster for gridding on reduced weighted rasters

Add IndexRaster for gridding on reduced weighted rasters #56

Workflow file for this run

# tox enviroments that run on both pull requests and merge to main
name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
strategy:
# fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.11] # to minimise complexity we only test a min and a max version
include:
# on all platforms and versions do everything
- tox-envs: [docs, lint, build, test]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: |
python -m pip install tox
- name: Run tox environments for testing
run: tox -e ${{ join(matrix.tox-envs, ',') }}
# from https://github.com/codecov/codecov-action
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
#fail_ci_if_error: true
verbose: true