ci(qc): improve .py matching globs
This commit is contained in:
parent
e38d9d8bff
commit
b371a7c4df
7
.github/workflows/checks.yml
vendored
7
.github/workflows/checks.yml
vendored
|
@ -4,6 +4,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
|
- '*.py'
|
||||||
- '**.py'
|
- '**.py'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -24,13 +25,13 @@ jobs:
|
||||||
run: devbox run poetry build
|
run: devbox run poetry build
|
||||||
|
|
||||||
- name: analyse with mypy
|
- name: analyse with mypy
|
||||||
run: devbox run poetry run mypy **/*.py
|
run: devbox run poetry run mypy .
|
||||||
|
|
||||||
- name: check for black formatting compliance
|
- name: check for black formatting compliance
|
||||||
run: devbox run poetry run "black --check **/*.py"
|
run: devbox run poetry run "black --check ."
|
||||||
|
|
||||||
- name: analyse isort compliance
|
- name: analyse isort compliance
|
||||||
run: devbox run poetry run "isort --check **/*.py"
|
run: devbox run poetry run "isort --check *.py **/*.py"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue