feat(subject): make uppercase description check configurable #81
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: Test | |
| on: # yamllint disable-line rule:truthy | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| # yamllint disable-line rule:line-length | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Install uv | |
| # yamllint disable-line rule:line-length | |
| uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0 | |
| - name: Cache NLTK data | |
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | |
| with: | |
| path: ~/nltk_data | |
| key: nltk-averaged-perceptron-tagger-punkt | |
| - name: Run tests with coverage | |
| run: |- | |
| uv run --dev pytest \ | |
| tests/ --cov=git_commit_guard --cov-report=term-missing \ | |
| --cov-report=xml | |
| - name: Save coverage artifact | |
| run: | | |
| mkdir -p ./pr | |
| echo ${{ github.event.number }} > ./pr/NR | |
| cp coverage.xml ./pr/ | |
| - name: Upload PR artifact | |
| # yamllint disable-line rule:line-length | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # ratchet:actions/upload-artifact@v4 | |
| with: | |
| name: pr | |
| path: pr/ |