From f5325e452b3d2063b5eda8d0a1eab5b6bf7ca10a Mon Sep 17 00:00:00 2001 From: Abhaas Goyal Date: Wed, 17 Jul 2024 13:26:24 +1000 Subject: [PATCH] Add steps in CI --- .github/workflows/ci.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 826cb5c3..7d2e96e1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,3 +42,13 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml + - name: Use black for formatting reports + uses: psf/black@stable + with: + options: "--check" + src: "./src ./tests" + - name: Use ruff for linting reports + uses: chartboost/ruff-action@v1 + with: + args: check --output-format=github + src: "./src ./tests"