Skip to content

Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.288 (#70) #132

Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.288 (#70)

Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.288 (#70) #132

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
paths-ignore:
- "**.md"
jobs:
test:
name: ${{ matrix.os }} py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11"]
steps:
- name: Checkout source
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Cache tox/pooch
uses: actions/cache@v3
with:
path: |-
.tox
~/.cache/example
key: test-${{ hashFiles('pyproject.toml') }}
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: "pyproject.toml"
- name: Install dependencies
run: python -m pip install tox tox-gh-actions
- name: Test with tox
run: tox run
env:
OS: ${{ matrix.os }}
# - name: Coverage
# uses: coverallsapp/github-action@v2