Added search_python_files(python_file_processor=) parameter #125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} with uv | |
uses: drivendataorg/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'packages' | |
- name: Install dependencies | |
run: | | |
uv sync | |
- name: Test with pytest | |
run: | | |
uv run pytest | |
- name: Test with pyright | |
if: ${{ matrix.python-version == '3.11' }} | |
# We do this as test rather than pre-commit, to ensure pyright sees all the dependencies | |
# and any stubs for them etc. | |
run: | | |
uv run pyright src tests |