Fix and run tests for Cython

fixes-turtlebasket
Mattia Montanari 2023-02-14 15:56:36 +01:00
parent cf0b32cd45
commit 044fd56632
1 changed files with 3 additions and 2 deletions

View File

@ -32,10 +32,11 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- run: cd examples/matlab/; octave runme.m - run: cd examples/matlab/; octave runme.m
Run_CYthon_example: Run_Cython_example:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: mmontanari/devenv:buildenv-ubuntu container: mmontanari/devenv:buildenv-ubuntu
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- run: cd examples/cython/; python3 setup.py build_ext --inplace; python3 test.py - run: cd examples/cython/ && python3 setup.py build_ext --inplace && python3 test.py
- run: cd examples/cython/ && pytest test.py