aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authoreine <eine@users.noreply.github.com>2020-08-15 18:09:03 +0200
committertgingold <tgingold@users.noreply.github.com>2020-08-23 21:21:15 +0200
commitd888e9cfd8f9af76a40a5aa5dfdbc0e7eba7df18 (patch)
treee12090c266ef1f3f10cd4affc8f9af0128244f8f /.github
parent4abeb0683159cdc4482a7f491340bfedf3fe2339 (diff)
downloadghdl-d888e9cfd8f9af76a40a5aa5dfdbc0e7eba7df18.tar.gz
ghdl-d888e9cfd8f9af76a40a5aa5dfdbc0e7eba7df18.tar.bz2
ghdl-d888e9cfd8f9af76a40a5aa5dfdbc0e7eba7df18.zip
ci: add black --check
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/push.yml21
1 files changed, 19 insertions, 2 deletions
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index f8004d9ed..b4c8b61b8 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -10,6 +10,24 @@ env:
jobs:
#
+# Format
+#
+
+ fmt:
+ runs-on: ubuntu-latest
+ steps:
+
+ - uses: actions/checkout@v2
+
+ - uses: actions/setup-python@v2
+ with:
+ python-version: 3.8
+
+ - run: python -m pip install black
+
+ - run: python -m black --check python
+
+#
# GPL
#
@@ -19,8 +37,7 @@ jobs:
- uses: actions/checkout@v2
- - run: |
- TASK=buster+mcode ./dist/ci-run.sh -c --gpl --no-synth
+ - run: TASK=buster+mcode ./dist/ci-run.sh -c --gpl --no-synth
#
# GNU/Linux