From 2ec354c6c7a33f01ae77e6dee7c54c267e0d96c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Sun, 18 Aug 2024 22:30:18 +0200 Subject: [PATCH] test: Add formatting check to CI/CD. --- .gitea/workflows/tests.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml index ee49a29..0c3f0d9 100644 --- a/.gitea/workflows/tests.yaml +++ b/.gitea/workflows/tests.yaml @@ -23,6 +23,16 @@ jobs: - run: pip install mypy - run: mypy org_rw --check-untyped-defs + formatting: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - run: apt-get update && apt-get install -y python3-pip + - run: pip install -e . + - run: pip install black + - run: black --check . + stability-extra-test: runs-on: ubuntu-latest steps: