Skip to content

chore(deps): update pypa/gh-action-pypi-publish digest to f760068 #202

chore(deps): update pypa/gh-action-pypi-publish digest to f760068

chore(deps): update pypa/gh-action-pypi-publish digest to f760068 #202

Workflow file for this run

name: Run tests
on:
pull_request:
push:
branches:
- master
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
set -euxo pipefail
python3 -m venv venv # due to mypy through pre-commit, venv-run (doh)
venv/bin/python3 -m pip install -e ".[dev]"
- uses: pre-commit/action@v3.0.0
nox:
name: Nox
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13.0-alpha - 3.13"
- "pypy-3.10"
steps:
- uses: actions/checkout@v3
- uses: excitedleigh/setup-nox@v2.1.0
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: |
v="${{ matrix.python-version }}"
v=${v##* } # "3.12.0-alpha - 3.12" -> "3.12"
v=${v//-} # "pypy-3.9" -> "pypy3.9"
nox --force-color --python "$v"