-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (34 loc) · 974 Bytes
/
test_python_wrapper.yaml
File metadata and controls
41 lines (34 loc) · 974 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
40
41
name: test_python_wrapper
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: update submodule
run: git submodule update --init --depth=1
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install apt packages
run: |
sudo apt-get install libeigen3-dev
- name: pip install tinyfk from source
run: |
pip install numpy pytest mypy
pip install . -v
- name: Test python wrapper
run: |
cd python
pytest
- name: Run mypy
run: |
mypy python