Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

# Same key-value pairs as in "Defining Our Workflow" section
name: CI
on: push
jobs:
build:

# Here we add the matrices definition:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.10", "3.11"]

# Here we add the reference to the os matrix values
runs-on: ${{ matrix.os }}

# Same key-value pairs as in "Defining Our Workflow" section
steps:

- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
# Here we add the reference to the python-version matrix values
python-version: ${{ matrix.python-version }}
# Same steps as in "Defining Our Workflow" section
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
- name: Test with PyTest
run: |
python3 -m pytest --cov=inflammation.models tests/test_models.py

- name: Check style with Pylint
run: |
python3 -m pylint --fail-under=0 --reports=y inflammation
1 change: 1 addition & 0 deletions inflammation/models.py

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are great!

Comment thread
kikhiam marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import numpy as np



Comment thread
kikhiam marked this conversation as resolved.
def load_csv(filename):
"""Load a Numpy array from a CSV

Expand Down
13 changes: 13 additions & 0 deletions requirements.txt

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to update the cycler library to version 0.13.1

Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
astroid==3.2.2
contourpy==1.2.1
coverage==7.5.4
cycler==0.12.1
dill==0.3.8
exceptiongroup==1.2.1
fonttools==4.53.0
importlib_resources==6.4.0
iniconfig==2.0.0
isort==5.13.2
kiwisolver==1.4.5
matplotlib==3.9.0
mccabe==0.7.0
numpy==2.0.0
packaging==24.1
pandas==2.2.2
pillow==10.3.0
platformdirs==4.2.2
pluggy==1.5.0
pylint==3.2.3
pyparsing==3.1.2
pytest==8.2.2
pytest-cov==5.0.0
python-dateutil==2.9.0.post0
pytz==2024.1
six==1.16.0
tomli==2.0.1
tomlkit==0.12.5
typing_extensions==4.12.2
tzdata==2024.1
zipp==3.19.2