Skip to content

Commit

Permalink
Add pylint to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
clmould committed Nov 16, 2023
1 parent e39151d commit 860ce4b
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: CI

#add linter pylint to jobs
# We can specify which Github events will trigger a CI build
on: push

Expand Down Expand Up @@ -37,3 +37,20 @@ jobs:
- name: Test with PyTest
run: |
python -m pytest --cov=inflammation.models tests/test_models.py
pylint:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10"]

runs-on: ${{ matrix.os }}

# a job is a seq of steps
steps:
- name: Test with Pylint
run: |
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
pylint inflammation

0 comments on commit 860ce4b

Please sign in to comment.