mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
ci: Enforce code style
This commit is contained in:
parent
af03c2ac0f
commit
3b22dff988
2 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ build:
|
||||||
image: registry.gitlab.gnome.org/jwestman/blueprint-compiler
|
image: registry.gitlab.gnome.org/jwestman/blueprint-compiler
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
|
- black --check .
|
||||||
- mypy blueprintcompiler
|
- mypy blueprintcompiler
|
||||||
- coverage run -m unittest
|
- coverage run -m unittest
|
||||||
- coverage html
|
- coverage html
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
FROM fedora:latest
|
FROM fedora:latest
|
||||||
|
|
||||||
RUN dnf install -y meson python3-pip gtk4-devel gobject-introspection-devel libadwaita-devel
|
RUN dnf install -y meson python3-pip gtk4-devel gobject-introspection-devel libadwaita-devel
|
||||||
RUN pip3 install furo mypy sphinx coverage
|
RUN pip3 install furo mypy sphinx coverage black
|
||||||
RUN dnf install -y git
|
RUN dnf install -y git
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue