From 710008c64f280e14e82c2e1678bb8cc2d45a79b5 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Sun, 13 Nov 2022 10:46:35 +0100 Subject: [PATCH 1/4] 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 56727f5..7f4b7bb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,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 d72ef509b91875a1f39e65a51804776750ba46d3 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Sun, 13 Nov 2022 14:15:18 +0100 Subject: [PATCH 2/4] Fix. --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7f4b7bb..7a0d831 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,6 +5,9 @@ concurrency: group: ${{ github.head_ref || github.run_id }} cancel-in-progress: true +env: + CONDA_EXE: mamba + on: push: branches: @@ -30,12 +33,14 @@ 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 + run: conda install -c conda-forge tox-conda coverage mamba # Unit, integration, and end-to-end tests. @@ -56,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 From 65e95abbb5141a6c36b0eac78ba89195aa32c33a Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Sun, 13 Nov 2022 14:18:22 +0100 Subject: [PATCH 3/4] Update main.yml --- .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 7a0d831..42228a9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,7 +40,7 @@ jobs: - name: Install core dependencies. shell: bash -l {0} - run: conda install -c conda-forge tox-conda coverage mamba + run: mamba install -c conda-forge tox-conda coverage mamba # Unit, integration, and end-to-end tests. From 8b9f6711a961d0f7645788a648e7a5a6f967e3bd Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Sun, 13 Nov 2022 14:27:39 +0100 Subject: [PATCH 4/4] Update main.yml --- .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 42228a9..2e05b68 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,7 +40,7 @@ jobs: - name: Install core dependencies. shell: bash -l {0} - run: mamba install -c conda-forge tox-conda coverage mamba + run: mamba install -c conda-forge tox-conda coverage # Unit, integration, and end-to-end tests.