forked from yang-song/score_sde_pytorch
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bdd5028
commit 6faabcd
Showing
3 changed files
with
64 additions
and
17 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
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} |
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
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