Skip to content

Commit

Permalink
Create solve_conda_env.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kalilamali authored Aug 25, 2023
1 parent 0895b0e commit 70d7810
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/solve_conda_env.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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

0 comments on commit 70d7810

Please sign in to comment.