Skip to content

Commit 458dd09

Browse files
committed
Use mamba in place of conda for unix CI jobs
1 parent 112bd5b commit 458dd09

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,20 @@ jobs:
2525
- uses: actions/checkout@v2
2626
- uses: conda-incubator/setup-miniconda@v2
2727
with:
28-
auto-update-conda: true
2928
python-version: ${{ matrix.python-version }}
29+
mamba-version: "*"
3030
activate-environment: test
3131
channels: conda-forge
3232
auto-activate-base: false
3333

3434
- name: Linux dependencies
3535
if: matrix.os == 'ubuntu-latest'
3636
shell: bash -l {0}
37-
run: |
38-
sudo apt-get install gcc-multilib -y
37+
run: sudo apt-get install gcc-multilib -y
3938

4039
- name: Dependencies
4140
shell: bash -l {0}
42-
run: |
43-
conda install --yes --quiet -c conda-forge scikit-build numpy python=${{ matrix.python-version }} cython pdal pytest
41+
run: mamba install --yes --quiet -c conda-forge scikit-build numpy python=${{ matrix.python-version }} cython pdal pytest
4442

4543
- name: Install
4644
shell: bash -l {0}
@@ -74,7 +72,6 @@ jobs:
7472
- uses: conda-incubator/setup-miniconda@v2
7573
with:
7674
channels: conda-forge
77-
auto-update-conda: true
7875
python-version: ${{ matrix.python-version }}
7976

8077
- name: Dependencies
@@ -119,13 +116,12 @@ jobs:
119116
- uses: conda-incubator/setup-miniconda@v2
120117
with:
121118
channels: conda-forge
122-
auto-update-conda: true
123119
python-version: ${{ matrix.python-version }}
120+
mamba-version: "*"
124121

125122
- name: Dependencies
126123
shell: bash -l {0}
127-
run: |
128-
conda install --yes --quiet -c conda-forge scikit-build numpy python=${{ matrix.python-version }} cython pdal pytest
124+
run: mamba install --yes --quiet -c conda-forge scikit-build numpy python=${{ matrix.python-version }} cython pdal pytest
129125

130126
- name: sdist
131127
shell: bash -l {0}

0 commit comments

Comments
 (0)