Skip to content

Merge pull request #330 from bdsoha/feature/pre-commit #176

Merge pull request #330 from bdsoha/feature/pre-commit

Merge pull request #330 from bdsoha/feature/pre-commit #176

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
paths-ignore:
- docs/**
- .github/workflows/docs.yml
pull_request:
branches: [ main ]
paths-ignore:
- docs/**
- .github/workflows/docs.yml
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- 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: pip install -e .[test]
- name: Lint with pre-commit
run: pre-commit run --all-files