aboutsummaryrefslogtreecommitdiff
path: root/libs/plugin_python/.github/workflows/linting.yml
diff options
context:
space:
mode:
Diffstat (limited to 'libs/plugin_python/.github/workflows/linting.yml')
-rw-r--r--libs/plugin_python/.github/workflows/linting.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/libs/plugin_python/.github/workflows/linting.yml b/libs/plugin_python/.github/workflows/linting.yml
new file mode 100644
index 0000000..70b5bca
--- /dev/null
+++ b/libs/plugin_python/.github/workflows/linting.yml
@@ -0,0 +1,24 @@
+name: Lint Plugin Python
+
+on:
+ push:
+ pull_request:
+ types: [opened, synchronize, reopened]
+
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: Check format
+ uses: ModOrganizer2/check-formatting-action@master
+ with:
+ check-path: "."
+ - uses: actions/setup-python@v4
+ with:
+ python-version: "3.12"
+ - uses: abatilo/actions-poetry@v2
+ - name: Check format Python tests
+ run: |
+ poetry install --no-root
+ poetry run poe lint