File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ # We can specify which Github events will trigger a CI build
4+ on : push
5+
6+ # now define a single job 'build' (but could define more)
7+ jobs :
8+
9+ build :
10+
11+ # we can also specify the OS to run tests on
12+ runs-on : ubuntu-latest
13+
14+ # a job is a seq of steps
15+ steps :
16+
17+ # Next we need to checkout out repository, and set up Python
18+ # A 'name' is just an optional label shown in the log - helpful to clarify progress - and can be anything
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+
22+ - name : Set up Python 3.11
23+ uses : actions/setup-python@v5
24+ with :
25+ python-version : " 3.11"
26+
27+ - name : Install Python dependencies
28+ run : |
29+ python3 -m pip install --upgrade pip
30+ python3 -m pip install -r requirements.txt
31+
32+ - name : Test with PyTest
33+ run : |
34+ python3 -m pytest --cov=inflammation.models tests/test_models.py
You can’t perform that action at this time.
0 commit comments