-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (33 loc) · 998 Bytes
/
tests.yml
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
name: Run tests
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Prepare env
run: |
pip3 install --upgrade pip pyunicore
pip3 install sbi==0.17.2 pytest numpy==1.22.4
cd ..
git clone --depth 1 --branch master https://github.com/the-virtual-brain/tvb-root.git
cd tvb-root
git pull
pip3 install --user -r tvb_framework/requirements.txt
cd tvb_library
python3 setup.py install
cd ../tvb_framework
python3 setup.py install
cd ../tvb_storage
python3 setup.py install
- name: Install tvb-inversion
run: |
cd mpr_sbi_tvb
python3 setup.py develop
- name: Run tests
run: |
pytest --pyargs sbi_tvb