Skip to content

Commit 021bde5

Browse files
authored
Update ci-with-conda.yml
1 parent 5ed238e commit 021bde5

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

.github/workflows/ci-with-conda.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Python Package using Conda
1+
name: Python Package using conda environment
22

33
on:
44
push:
@@ -17,14 +17,9 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v3
20-
# - name: Set up Python 3.10
21-
# uses: actions/setup-python@v3
22-
# with:
23-
# python-version: '3.10'
2420
- name: Add conda
2521
uses: conda-incubator/setup-miniconda@v3
2622
with:
27-
#auto-update-conda: true
2823
activate-environment: mbarq
2924
environment-file: mbarq_environment.yaml
3025
python-version: '3.10'
@@ -33,24 +28,17 @@ jobs:
3328
run: |
3429
conda info
3530
conda list
36-
# run: |
37-
# # $CONDA is an environment variable pointing to the root of the miniconda directory
38-
# echo $CONDA/bin >> $GITHUB_PATH
39-
- name: Install dependencies
31+
- name: Install mbarq
4032
run: |
41-
#conda install -c conda-forge mamba python==3.10
42-
#conda env update --file mbarq_environment.yaml --name base
4333
pip install .
4434
- name: Lint with flake8
4535
run: |
46-
#conda activate mbarq
4736
conda install flake8
4837
# stop the build if there are Python syntax errors or undefined names
4938
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
5039
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
5140
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
5241
- name: Test with pytest
5342
run: |
54-
conda activate mbarq
5543
conda install pytest
5644
pytest

0 commit comments

Comments
 (0)