Skip to content

chore(deps): update pypa/gh-action-pypi-publish digest to 218af42 #212

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

chore(deps): update pypa/gh-action-pypi-publish digest to 218af42 #212

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/[email protected]
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/[email protected]
- 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"