Make numpy less restrictive #255
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# 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 |