Skip to content

384 optimize distance to anomaly #866

384 optimize distance to anomaly

384 optimize distance to anomaly #866

Workflow file for this run

# workflow name
name: Tests
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the wanted branches
on:
pull_request:
push:
branches: [master, main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.10.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
sudo apt-get install gdal-bin libgdal-dev
pip install poetry
poetry install
- name: Test with pytest
run: |
poetry run pytest -v