diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 81200d5..87d364f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,10 +65,11 @@ jobs: - name: Configure conda uses: conda-incubator/setup-miniconda@v3 with: - activate-environment: test - miniforge-variant: Mambaforge + auto-update-conda: true + channels: conda-forge python-version: ${{ matrix.python-version }} - use-mamba: true + # this is needed for caching to work properly: + use-only-tar-bz2: true - name: Conda info run: conda info --all @@ -76,15 +77,15 @@ jobs: - name: Install dependencies run: | # parse requirements to install as much as possible with conda - mamba create --name pip2conda pip2conda - mamba run --name pip2conda pip2conda \ + conda create --name pip2conda pip2conda + conda run --name pip2conda pip2conda \ --all \ --output environment.txt \ --python-version ${{ matrix.python-version }} echo "-----------------" cat environment.txt echo "-----------------" - mamba install --quiet --yes --name test --file environment.txt + conda install --quiet --yes --name test --file environment.txt - name: Install PyOmicron run: python -m pip install --editable . --no-build-isolation -vv