From 3fe60aaa0bcce4fe2864eacf4d071e360a92546d Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Sun, 13 Nov 2022 10:46:19 +0100 Subject: [PATCH 1/2] Add Python 3.11 to CI. Committed via https://github.com/asottile/all-repos --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9e7bbfc..6e1f413 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: fail-fast: false matrix: os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v2 From ea4f68d2abf31f042e05a7183d3a0e756c1af1d8 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Sun, 13 Nov 2022 12:57:33 +0100 Subject: [PATCH 2/2] Fix. --- .github/workflows/main.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6e1f413..7a0d831 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,14 +33,15 @@ jobs: - uses: actions/checkout@v2 - uses: conda-incubator/setup-miniconda@v2 with: - auto-update-conda: true + auto-update-conda: false python-version: ${{ matrix.python-version }} + channels: conda-forge,nodefaults + mamba-version: "*" - name: Install core dependencies. shell: bash -l {0} run: conda install -c conda-forge tox-conda coverage mamba - # Unit, integration, and end-to-end tests. - name: Run unit tests and doctests. @@ -60,8 +61,3 @@ jobs: if: runner.os == 'Linux' && matrix.python-version == '3.8' shell: bash -l {0} run: bash <(curl -s https://codecov.io/bash) -F end_to_end -c - - - name: Validate codecov.yml - if: runner.os == 'Linux' && matrix.python-version == '3.8' - shell: bash -l {0} - run: cat codecov.yml | curl --data-binary @- https://codecov.io/validate