diff --git a/.github/workflows/ci-with-conda.yml b/.github/workflows/ci-with-conda.yml index c99897d..8bb75e9 100644 --- a/.github/workflows/ci-with-conda.yml +++ b/.github/workflows/ci-with-conda.yml @@ -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: |