Skip to content

Update 04-code-checks.yml #13

Update 04-code-checks.yml

Update 04-code-checks.yml #13

Workflow file for this run

name: Code checks
on:
pull_request:
branches: [ main ]
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/
- name: Install Dependencies
run: |
python -m pip install -r requirements.txt
- name: Run the tests
run: |
pytest tests/