Skip to content

Add Python 3.11 to CI. #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: main

# Automatically cancel a previous run.
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
CONDA_EXE: mamba

on:
push:
branches:
Expand All @@ -8,10 +16,6 @@ on:
branches:
- '*'

concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:

run-tests:
Expand All @@ -23,19 +27,21 @@ 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
- uses: r-lib/actions/setup-tinytex@v1
- 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: mamba install -c conda-forge tox-conda coverage

- name: Run end-to-end tests.
shell: bash -l {0}
Expand Down