From 8b493ae14cb4587587d740d1b3e4f40c9a85458e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Garc=C3=ADa=20M=C3=A9ndez?= <44614728+egarciamendez@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:19:59 +0100 Subject: [PATCH] Checking if ruff is working as expected --- .github/workflows/ruff_testing.yaml | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/ruff_testing.yaml diff --git a/.github/workflows/ruff_testing.yaml b/.github/workflows/ruff_testing.yaml new file mode 100644 index 00000000..4fbe1677 --- /dev/null +++ b/.github/workflows/ruff_testing.yaml @@ -0,0 +1,35 @@ +name: Ruff testing + +on: + push: + branches: + - ruff_testing + +jobs: + min_build: + name: Checks if ruff is working as expected + runs-on: "ubuntu-latest" + strategy: + matrix: + python-version: [3.11"] + steps: + - uses: actions/checkout@v3 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install . + pip install .[minimal_requirements] + pip install .[dev] + pip install pandas-stubs + + - name: Run linting checks with ruff + run: | + ruff check . + ruff format . +