Skip to content

Commit 9b09497

Browse files
committed
Fix.
1 parent 0c9db0a commit 9b09497

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ concurrency:
55
group: ${{ github.head_ref || github.run_id }}
66
cancel-in-progress: true
77

8+
env:
9+
CONDA_EXE: mamba
10+
811
on:
912
push:
1013
branches:
@@ -32,12 +35,14 @@ jobs:
3235
if: runner.os != 'Windows'
3336
- uses: conda-incubator/setup-miniconda@v2
3437
with:
35-
auto-update-conda: true
38+
auto-update-conda: false
3639
python-version: ${{ matrix.python-version }}
40+
channels: conda-forge,nodefaults
41+
mamba-version: "*"
3742

3843
- name: Install core dependencies.
3944
shell: bash -l {0}
40-
run: conda install -c conda-forge tox-conda coverage
45+
run: mamba install -c conda-forge tox-conda coverage mamba
4146

4247
# Unit, integration, and end-to-end tests.
4348

@@ -46,7 +51,7 @@ jobs:
4651
run: tox -e pytest -- -m "unit or (not integration and not end_to_end)" --cov=./ --cov-report=xml -n auto
4752

4853
- name: Upload coverage report for unit tests and doctests.
49-
if: runner.os == 'Linux' && matrix.python-version == '3.9'
54+
if: runner.os == 'Linux' && matrix.python-version == '3.8'
5055
shell: bash -l {0}
5156
run: bash <(curl -s https://codecov.io/bash) -F unit -c
5257

@@ -55,6 +60,6 @@ jobs:
5560
run: tox -e pytest -- -m end_to_end --cov=./ --cov-report=xml -n auto
5661

5762
- name: Upload coverage reports of end-to-end tests.
58-
if: runner.os == 'Linux' && matrix.python-version == '3.9'
63+
if: runner.os == 'Linux' && matrix.python-version == '3.8'
5964
shell: bash -l {0}
6065
run: bash <(curl -s https://codecov.io/bash) -F end_to_end -c

0 commit comments

Comments
 (0)