Merge pull request #77 from rduo1009/dependabot/pip/deptry-0.22.0 #105
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: interrogate | |
on: | |
push: | |
branches: [main] | |
jobs: | |
coverage: | |
name: Test docstring coverage | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
py: | |
- "3.13.0" | |
os: | |
- ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
submodules: "recursive" | |
- name: Setup python for test ${{ matrix.py }} | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.py }} | |
- name: Run interrogate | |
uses: rduo1009/python-interrogate-check@main | |
with: | |
path: "src" | |
badge-location: "docs/assets/interrogate_badge.svg" | |
continue-on-error: true | |
- name: Setup git | |
uses: qoomon/[email protected] | |
with: | |
user: bot | |
- name: Commit files | |
run: | | |
git add docs/assets/interrogate_badge.svg | |
git diff --exit-code || git commit -m "🧹 chore: update interrogate badge" -a | |
git push |