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
This commit is contained in:
Zanie Blue
2023-08-01 11:35:29 -05:00
committed by GitHub
parent debfca3a11
commit adf227b8a9

View File

@@ -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