flake8 #23
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: flake8 | |
# NB: this will run even if docker-test-build fails | |
on: | |
workflow_run: | |
workflows: | |
- docker-test-build | |
types: | |
- completed | |
jobs: | |
flake8: | |
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: flake8 | |
run: docker exec test python -m flake8 --exclude=tests/* | |
- name: Save result | |
if: always() | |
uses: ./.github/actions/save-workflow-result | |
with: | |
result: ${{ job.status }} |