From 3b57b2add637a596e778af489eb6ddc8d815c604 Mon Sep 17 00:00:00 2001 From: Tom Pollard Date: Thu, 29 May 2025 16:46:02 -0400 Subject: [PATCH 1/2] remove style check from tests. --- .github/workflows/test.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 10f97426..4f6f87c7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,8 +35,6 @@ jobs: run: sudo apt-get install -y libsndfile1 - name: Run tests run: uv run --with ${{ matrix.numpy }} --extra dev pytest - - name: Check style - run: uv run --extra dev black --check --diff . test-deb11-i386: name: Python 3.7 on Debian 11 i386 From 7e6dd91c88386c82997e5aca5762c3da696bba5e Mon Sep 17 00:00:00 2001 From: Tom Pollard Date: Thu, 29 May 2025 16:46:29 -0400 Subject: [PATCH 2/2] add new workflow for style checks. --- .github/workflows/style.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/style.yml diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml new file mode 100644 index 00000000..fddc6485 --- /dev/null +++ b/.github/workflows/style.yml @@ -0,0 +1,21 @@ +name: Style Check + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + style: + name: Style Check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: astral-sh/setup-uv@v3 + - name: Install Python + run: uv python install 3.11 + - name: Check style + run: uv run --extra dev black --check --diff .