Quality check on Pull Request #5
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: Code checks | |
on: | |
workflow_dispatch: | |
jobs: | |
job1: | |
name: linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@main | |
- name: Use Python version 3.8 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.8' | |
- name: Install Flake8 | |
run: | | |
python -m pip install flake8 | |
- name: Run linting tests | |
run: | | |
flake8 src/model/ | |