Skip to content

pydocstyle

pydocstyle #65

Workflow file for this run

name: pydocstyle
# NB: this will run even if docker-test-build fails
on:
workflow_run:
workflows:
- docker-test-build
types:
- completed
jobs:
pydocstyle:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download and run docker image
uses: ./.github/actions/download-docker-artifact
with:
repo-read-token: ${{ secrets.GH_PAT }}
- name: pydocstyle
run: docker exec test sh -c 'python -m pydocstyle $(ls *.py) --ignore=D107,D203,D213'
- name: Save result
if: always()
uses: ./.github/actions/save-workflow-result
with:
result: ${{ job.status }}