update lotus scripts to allow using old style deterministic models too #115
Workflow file for this run
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
name: CI | |
on: [push] | |
jobs: | |
ci-checks: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v4 | |
- name: setup-micromamba | |
uses: mamba-org/[email protected] | |
with: | |
environment-file: environment.lock.yml | |
init-shell: bash | |
cache-environment: true | |
post-cleanup: 'all' | |
- name: Install package | |
run: | | |
pip install -e . | |
shell: micromamba-shell {0} | |
- name: Install unet | |
uses: actions/checkout@v4 | |
with: | |
repository: henryaddison/Pytorch-UNet | |
path: src/ml_downscaling_emulator/unet | |
- name: Test with pytest | |
run: | | |
pytest | |
shell: micromamba-shell {0} |