aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-05-23 06:03:28 +0200
committerEgor Tensin <egor@tensin.name>2026-05-23 06:05:26 +0200
commite45bf582ad75272f3d350c5d3cd434d164a4785a (patch)
treed5078dd465d071e92043c131f86812b8fd75c2cb /.github/workflows/ci.yml
parentworkflows/ci: remove on: pull_request (diff)
downloadlinux-status-e45bf582ad75272f3d350c5d3cd434d164a4785a.tar.gz
linux-status-e45bf582ad75272f3d350c5d3cd434d164a4785a.zip
workflows/ci: run the Black linter
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index daa78bc..ccf383f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,6 +18,12 @@ jobs:
uses: actions/setup-python@v6
with:
python-version: '${{ matrix.python-version }}'
+ - name: Run black
+ uses: psf/black@stable
+ with:
+ # > Please note that the --check flag is required so that the
+ # > workflow fails if Black finds files that need to be formatted.
+ options: --check --verbose --skip-string-normalization
- name: Run tests as root
run: sudo ./test/test.sh
- name: Run tests