Skip to content

Commit 55321ad

Browse files
authored
Add Python 3.11 to CI. (#26)
1 parent 29ac7f0 commit 55321ad

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 8 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:
@@ -24,18 +27,20 @@ jobs:
2427
fail-fast: false
2528
matrix:
2629
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
27-
python-version: ['3.7', '3.8', '3.9', '3.10']
30+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
2831

2932
steps:
3033
- uses: actions/checkout@v2
3134
- uses: conda-incubator/setup-miniconda@v2
3235
with:
33-
auto-update-conda: true
36+
auto-update-conda: false
3437
python-version: ${{ matrix.python-version }}
38+
channels: conda-forge,nodefaults
39+
mamba-version: "*"
3540

3641
- name: Install core dependencies.
3742
shell: bash -l {0}
38-
run: conda install -c conda-forge tox-conda coverage
43+
run: mamba install -c conda-forge tox-conda coverage
3944

4045
# Unit, integration, and end-to-end tests.
4146

@@ -56,8 +61,3 @@ jobs:
5661
if: runner.os == 'Linux' && matrix.python-version == '3.8'
5762
shell: bash -l {0}
5863
run: bash <(curl -s https://codecov.io/bash) -F end_to_end -c
59-
60-
- name: Validate codecov.yml
61-
if: runner.os == 'Linux' && matrix.python-version == '3.8'
62-
shell: bash -l {0}
63-
run: cat codecov.yml | curl --data-binary @- https://codecov.io/validate

0 commit comments

Comments
 (0)