Skip to content

Make numpy less restrictive #255

Make numpy less restrictive

Make numpy less restrictive #255

################################################################################
# AUTOGENERATED using openmapflow generate
################################################################################
name: crop-test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
paths:
- 'crop-mask-example/**'
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: crop-mask-example
steps:
- name: Clone repo
uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: pip install -r requirements.txt
- name: dvc pull data
run: dvc pull -f
- name: Integration test - Project
run: |
openmapflow cp templates/integration_test_project.py .
python -m unittest integration_test_project.py
- name: Integration test - Data integrity
run: |
openmapflow cp templates/integration_test_datasets.py .
python -m unittest integration_test_datasets.py
- name: Integration test - Train and evaluate
run: |
openmapflow cp templates/integration_test_train_evaluate.py .
python -m unittest integration_test_train_evaluate.py