From adf227b8a9605cc252ca3978bce0b7ec2270fbe3 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 1 Aug 2023 11:35:29 -0500 Subject: [PATCH] Run ecosystem checks on changes to ecosystem test script (#6248) e.g. https://github.com/astral-sh/ruff/pull/6245 should probably run checks before merge --- .github/workflows/ci.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 487de99d85..7e5292c515 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,7 +2,7 @@ name: CI on: push: - branches: [ main ] + branches: [main] pull_request: workflow_dispatch: @@ -42,6 +42,7 @@ jobs: - "!crates/ruff_formatter/**" - "!crates/ruff_dev/**" - "!crates/ruff_shrinking/**" + - scripts/check_ecosystem.py formatter: - Cargo.toml @@ -55,7 +56,6 @@ jobs: - crates/ruff_text_size/** - crates/ruff_python_parser/** - cargo-fmt: name: "cargo fmt" runs-on: ubuntu-latest @@ -83,7 +83,7 @@ jobs: cargo-test: strategy: matrix: - os: [ ubuntu-latest, windows-latest ] + os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} name: "cargo test | ${{ matrix.os }}" steps: @@ -235,7 +235,6 @@ jobs: - name: "Run cargo-udeps" run: cargo +nightly-2023-06-08 udeps - python-package: name: "python package" runs-on: ubuntu-latest