From 84e4185762e4d9246c27c5196b20ca515e586971 Mon Sep 17 00:00:00 2001 From: M Bussonnier Date: Wed, 8 Jan 2025 10:32:09 +0100 Subject: [PATCH] Try to run ruff and typo only on 3.13 There is no need to run N times. This in particular means that we can still see from a glace the tests are passing on older python. I also try to run typo regardless of wether ruff check and formating passes, which hopefully avoid one iteration of fix, push and CI failing. --- .github/workflows/test.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ea44f3dae..c7de0f487 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -30,9 +30,13 @@ jobs: python -m pip install . ruff typos coverage codecov mypy pytest readme_renderer types-contextvars asyncssh pip list - name: Ruff + if: ${{ matrix.python-version == '3.13' }} run: | ruff check . ruff format --check . + - name: Typos + if: ${{ matrix.python-version == '3.13'" && always() }} + run: | typos . - name: Tests run: |