Add pytest

fixes-turtlebasket
Chris Richardson 2020-05-04 12:50:51 +01:00
parent b0830fc438
commit 27f9698106
1 changed files with 6 additions and 2 deletions

View File

@ -10,6 +10,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install Eigen and Pybind11 - name: Install Eigen and Pybind11
run: sudo apt update && sudo apt install -y libeigen3-dev && pip3 install pybind11 run: sudo apt update && sudo apt install -y libeigen3-dev && pip3 install pybind11 pytest
- name: Compile - name: Compile
run: export CPATH=/usr/include/eigen3 && cd python && source build.sh run: export CPATH=/usr/include/eigen3 && cd python && source build.sh
- name: Test
run: |
cd python
python3 -m pytest -s -v test.py