Skip to content

Allow rules to be skipped #333

Allow rules to be skipped

Allow rules to be skipped #333

Workflow file for this run

name: ci
on:
pull_request:
branches:
- master
paths-ignore:
- "docs/**"
push:
branches:
- master
paths-ignore:
- "docs/**"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
pdm sync -d
- name: Run Prettier
uses: creyD/[email protected]
with:
dry: True
prettier_options: "--check **/*.{json,yaml,yml,md}"
- name: Run Tox
run: |
pdm run tox -e py,lint