WIP: Add a dedicated external trigger scan #64
Workflow file for this run
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: Codestyle | |
on: | |
push: | |
branches: | |
- master | |
- development | |
pull_request: | |
branches: | |
- master | |
- development | |
jobs: | |
tests: | |
name: flake8 | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install flake8 | |
run: pip install flake8 | |
- name: Check code | |
run: while read in; do flake8 --extend-ignore E501,W503 "$in"; done < <(git diff --name-only --diff-filter=ACMTUXB origin/development -- '*.py') |