ci: Fix CI triggers (remove pull_request) (#1096) #4866
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: "Linting" | |
| on: [push] | |
| jobs: | |
| linting: | |
| name: Python Code Quality and Lint | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| python-version: ["3.12"] | |
| os: [ubuntu-latest, windows-latest] | |
| linter-env: ["linting", "type_check", "dev"] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: pip install tox tox-uv | |
| - name: Run ${{ matrix.linter-env }} | |
| run: | | |
| tox -e ${{ matrix.linter-env }} |