Skip to content

Update version

Update version #218

################################################################################
# AUTOGENERATED using openmapflow generate
################################################################################
name: buildings-test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
paths:
- 'buildings-example/**'
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: buildings-example
steps:
- name: Clone repo
uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: 3.9
- 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