Skip to content

Renovations

Renovations #27

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pre-commit/[email protected]
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: python -m pip install -U build
- run: python -m build
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist/*
Test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- python-version: '3.8'
- python-version: '3.9'
- python-version: '3.10'
- python-version: '3.11'
- python-version: '3.12'
steps:
- uses: actions/checkout@v4
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@v5
with:
python-version: '${{ matrix.python-version }}'
cache: pip
cache-dependency-path: pyproject.toml
- run: pip install -U pip wheel setuptools tox tox-gh
- run: tox