diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c5460da..e9b63bc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -60,10 +60,15 @@ jobs: - uses: conda-incubator/setup-miniconda@v3 if: ${{ matrix.PACKAGE_MANAGER == 'conda' }} with: - auto-activate-base: true + miniforge-version: latest activate-environment: ${{ matrix.ENVIRONMENT_NAME }} python-version: ${{ matrix.PYTHON_VERSION }} - miniforge-variant: Mambaforge + conda-remove-defaults: "true" + + - name: Install pip (conda) + if: ${{ matrix.PACKAGE_MANAGER == 'conda' }} + run: | + mamba install pip - uses: actions/setup-python@v5 if: ${{ matrix.PACKAGE_MANAGER == 'pip' }} @@ -94,6 +99,14 @@ jobs: run: | mamba install ${{ matrix.TEST_DEPS }} + - name: Mamba info + run: | + mamba info + + - name: Conda list + run: | + conda list + - name: Run test suite shell: bash -l {0} run: | @@ -104,4 +117,3 @@ jobs: run: | start_jupyter_cm start_jupyter_cm --remove -