-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (34 loc) · 975 Bytes
/
Copy pathpython-build.yml
File metadata and controls
39 lines (34 loc) · 975 Bytes
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
name: Python interface
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
python-interface:
name: Build python bindings
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [macos-latest] #, ubuntu-latest, windows-latest]
python-version: ["3.9", "3.10" ]
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install pybind11==2.10.0 pytest numpy scipy networkx psutil pandas tqdm scikit-learn
- name: Installing basegraph
run: pip install ${{github.workspace}}/ext/base_graph
- name: Installing graphinf
run: pip install . -v
- name: Run tests
run: |
pytest ./tests