conda-incubator / setup-miniconda

Set up your GitHub Actions workflow with conda via miniconda
https://github.com/marketplace/actions/setup-miniconda
MIT License
402 stars 68 forks source link

Is the "channels" warning an issue? #132

Open jGaboardi opened 3 years ago

jGaboardi commented 3 years ago

issue:

"channels" set on the "environment-file" do not match "channels" set on the action!

I am getting the above warning, which seems to be thrown regardless of OS/Python version, (Ubunutu/3.7, for example). The workflow runs without failing so it doesn't appear to be a problem, but I am wondering if I doing something incorrectly or something could be more streamlined. Unless I am mistaken (which could absolutely be the case), the name of the only channel I am using (conda-forge) is exactly the same in the workflow file and the environment file.

associated files:

goanpeca commented 3 years ago

Hi @jGaboardi, thanks for the report.

That is indeed unexpected. We will check!

jGaboardi commented 3 years ago

Hi @jGaboardi, thanks for the report.

That is indeed unexpected. We will check!

Super, thanks!

bollwyvl commented 3 years ago

I may have added that to the ignored warnings...

bnavigator commented 3 years ago

Any news on this? I see the same.

workflow:

- name: Setup Conda
        uses: conda-incubator/setup-miniconda@v2
        if: matrix.distribution == 'conda'
        with:
          channels: conda-forge
          auto-update-conda: true
          python-version: ${{ matrix.python }}
          activate-environment: test-env
          environment-file: ./Slycot/.github/conda-env/test-env.yml
          auto-activate-base: false

test-env.yml

channels:
  - conda-forge