@@ -27,16 +27,22 @@ jobs:
2727 fail-fast : false
2828 matrix :
2929 os : ['ubuntu-latest', 'macos-latest', 'windows-latest']
30- python-version : ['3.7', '3. 8', '3.9', '3.10', '3.11']
30+ python-version : ['3.8', '3.9', '3.10', '3.11']
3131
3232 steps :
3333 - uses : actions/checkout@v4
34- - uses : conda-incubator /setup-miniconda@v2
34+ - uses : mamba-org /setup-micromamba@v1
3535 with :
36- auto-update-conda : false
37- python-version : ${{ matrix.python-version }}
38- channels : conda-forge,nodefaults
39- miniforge-variant : Mambaforge
36+ environment-name : gha-testing
37+ condarc : |
38+ channels:
39+ - nodefaults
40+ - conda-forge
41+ create-args : >-
42+ python=${{ matrix.python-version }}
43+ mamba
44+ tox-conda
45+ cache-environment : true
4046
4147 - name : Install core dependencies.
4248 shell : bash -l {0}
4955 run : tox -e pytest -- -m "unit or (not integration and not end_to_end)" --cov=./ --cov-report=xml -n auto
5056
5157 - name : Upload coverage report for unit tests and doctests.
52- if : runner.os == 'Linux' && matrix.python-version == '3.8 '
58+ if : runner.os == 'Linux' && matrix.python-version == '3.10 '
5359 shell : bash -l {0}
5460 run : bash <(curl -s https://codecov.io/bash) -F unit -c
5561
5864 run : tox -e pytest -- -m end_to_end --cov=./ --cov-report=xml -n auto
5965
6066 - name : Upload coverage reports of end-to-end tests.
61- if : runner.os == 'Linux' && matrix.python-version == '3.8 '
67+ if : runner.os == 'Linux' && matrix.python-version == '3.10 '
6268 shell : bash -l {0}
6369 run : bash <(curl -s https://codecov.io/bash) -F end_to_end -c
0 commit comments