bump main checkout to v4 #3
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 | ||
repository: henryaddison/Pytorch-UNet | ||
Check failure on line 27 in .github/workflows/ci.yml GitHub Actions / CIInvalid workflow file
|
||
path: mlde/src/ml_downscaling_emulator/unet | ||
- name: Test with pytest | ||
run: | | ||
pytest | ||
shell: micromamba-shell {0} |