mirror of
https://github.com/astral-sh/ruff-action.git
synced 2026-05-18 15:20:12 +02:00
Fix wildcard src input
This commit is contained in:
@@ -395,6 +395,34 @@ jobs:
|
||||
fi
|
||||
env:
|
||||
CHECK_SHOULD_FAIL_OUTCOME: ${{ steps.check-should-fail.outcome }}
|
||||
test-glob-src:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-latest, windows-latest ]
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Use glob pattern in src
|
||||
uses: ./
|
||||
with:
|
||||
src: __tests__/fixtures/glob-project/**/*.py
|
||||
|
||||
test-glob-single-star-src:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-latest, windows-latest ]
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Use single-star glob pattern in src
|
||||
uses: ./
|
||||
with:
|
||||
src: __tests__/fixtures/glob-single-star-project/foo/bar/*.py
|
||||
|
||||
test-multiple-src:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
@@ -479,6 +507,8 @@ jobs:
|
||||
- test-with-explicit-token
|
||||
- test-args
|
||||
- test-failure
|
||||
- test-glob-src
|
||||
- test-glob-single-star-src
|
||||
- test-multiple-src
|
||||
- test-parent-directory-pyproject
|
||||
- test-custom-manifest-file
|
||||
|
||||
Reference in New Issue
Block a user