Skip to content

switch to default version being 3.12 #85

switch to default version being 3.12

switch to default version being 3.12 #85

Workflow file for this run

on: [push, pull_request]
jobs:
tests:
strategy:
fail-fast: false
matrix:
include:
- { python: "3.11", os: ubuntu-latest, check: "tests-3.11" }
- { python: "3.12", os: ubuntu-latest, check: "tests-3.12" }
- { python: "3.12", os: ubuntu-latest, check: "lint" }
- { python: "3.12", os: ubuntu-latest, check: "docs" }
- { python: "3.12", os: ubuntu-latest, check: "mypy" }
- { python: "3.12", os: ubuntu-latest, check: "build" }
name: ${{ matrix.check }} on Python ${{ matrix.python }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
steps:
- name: Check out the repository
uses: actions/[email protected]
- name: Set up Python ${{ matrix.python }}
uses: actions/[email protected]
with:
python-version: "${{ matrix.python }}"
- name: Upgrade pip
run: |
pip install --upgrade pip
pip --version
- name: Install Nox
run: |
pip install nox
nox --version
- name: Run Nox
run: |
nox --force-color --python=${{ matrix.python }} --session=${{ matrix.check }}