-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:ssi-dk/bifrost_chewbbaca
- Loading branch information
Showing
2 changed files
with
33 additions
and
4 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,28 @@ | ||
name: Solve conda environment | ||
|
||
on: [push] | ||
|
||
jobs: | ||
check-conda: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Miniconda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
|
||
- name: Install conda dependencies | ||
run: | | ||
$CONDA/bin/conda env update --file environment.yml --name base | ||
- name: Format with black | ||
run: | | ||
$CONDA/bin/black *.py | ||
$CONDA/bin/black */*.py | ||
- name: Check conda dependencies are compatible with the main program | ||
run: | | ||
$CONDA/bin/python --version | ||
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