forked from francescorandi/wormneuroatlas
-
Notifications
You must be signed in to change notification settings - Fork 1
60 lines (45 loc) · 1.4 KB
/
ci.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Test examples
on:
push:
branches: [ main, development, experimental ]
pull_request:
branches: [ main, development, experimental ]
jobs:
build:
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Build package
run: |
pip install .
- name: Test some examples
run: |
cd scripts
python gene_expression.py
python peptideGPCR_binding.py
- name: Test more examples
if: ${{ matrix.runs-on == 'ubuntu-latest' }} # Note: these example all generate plots - these tests stalled on Mac/Win on GHA
run: |
cd scripts
python cell_lineage_asymmetry.py
python signalpropagation_kernels.py
python plot_signal_propagation.py
python make_neuropeptidergic_connectome.py
ls -alth
python pep_connectome_extract_combos.py tests/test_pep_pairs.txt
more tests/*
- name: Final version info
run: |
pip list