Skip to content

Commit

Permalink
Update ci-with-conda.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ASintsova authored Apr 11, 2024
1 parent e756798 commit 60cb627
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/ci-with-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,29 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
# - name: Set up Python 3.10
# uses: actions/setup-python@v3
# with:
# python-version: '3.10'
- name: Add conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: '3.10'
- name: Add conda to system path
activate-environment: mbarq
environment-file: mbarq_environment.yaml
auto-activate-base: false
- name: test conda
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
conda info
conda list
# run: |
# # $CONDA is an environment variable pointing to the root of the miniconda directory
# echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
#conda install -c conda-forge mamba python==3.10
conda env update --file mbarq_environment.yaml --name base
#conda env update --file mbarq_environment.yaml --name base
pip install .
- name: Lint with flake8
run: |
Expand Down

0 comments on commit 60cb627

Please sign in to comment.