feat: add PDEV team prefix to linear ref validation #73
Workflow file for this run
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: Run test | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| pytest: | |
| runs-on: ${{ vars.RUNNER_STANDARD }} | |
| permissions: | |
| contents: read | |
| id-token: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: uv sync --all-groups | |
| - name: Run pytest | |
| run: uv run pytest --cov=git_hooks --cov-report=xml:coverage.xml --durations=10 | |
| - name: Get Cover | |
| uses: orgoro/[email protected] | |
| if: ${{ github.event_name == 'pull_request' }} | |
| with: | |
| coverageFile: coverage.xml | |
| token: ${{ secrets.GITHUB_TOKEN }} |