-
Notifications
You must be signed in to change notification settings - Fork 5
47 lines (38 loc) · 1.16 KB
/
Copy pathlinux.yml
File metadata and controls
47 lines (38 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: physigym_linux_test_pilot
run-name: ${{ github.actor }}::test physigym on the linux os, all pytest unit tests.
on:
push:
branches: ["utest", "development"] # main
pull_request:
branches: ["development"]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
#- name: install missing linux packaes
# run: |
# sudo apt update
# sudo apt install libxml2-dev libxslt1-dev python3-dev
- name: check out the physigym repo
uses: actions/checkout@v4
- name: install python3
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: install python modules
run: |
python3 -m pip install --upgrade pip
python3 -m pip install pytest gymnasium "lxml>5.0" matplotlib numpy pandas #pcdl
which python3
which python
which pip3
which pip
- name: install physicell
run: |
git clone https://github.com/MathCancer/PhysiCell.git /home/runner/work/PhysiGym/PhysiCell
- name: run the pytest
run: |
pytest test/test_physigym_model.py -v
#pytest test/test_physigym_reload.py -v