Skip to content

refactor: dataset conversion #31

refactor: dataset conversion

refactor: dataset conversion #31

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Test external models
on:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master", "dev" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
#container:
# image: ubuntu:latest
# options: --user root
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: "${{ matrix.python-version }}"
- name: Install pyenv
uses: gabrielfalcao/pyenv-action@v18
with:
default: "3.10"
command: ""
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Run
run: |
chap evaluate --model-name external_models/naive_python_model_with_mlproject_file_and_docker/ --dataset-name ISIMIP_dengue_harmonized --dataset-country brazil
chap evaluate --model-name external_models/deepar --dataset-name ISIMIP_dengue_harmonized --dataset-country brazil
chap evaluate --model-name https://github.com/sandvelab/chap_auto_ewars --dataset-name ISIMIP_dengue_harmonized --dataset-country brazil