Test PR - DO NOT MERGE - Testing for GH Action added in PR #430 #4
This file contains hidden or 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: Check Python package code | |
| on: | |
| pull_request_target: | |
| paths: | |
| - 'packages/**' | |
| - 'pyproject.toml' | |
| - 'uv.lock' | |
| push: | |
| branches: [main, dev] | |
| paths: | |
| - 'packages/**' | |
| - 'pyproject.toml' | |
| - 'uv.lock' | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| version: "latest" | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Run make check | |
| run: make check |