Skip to content

Python testing

Python testing #61

Workflow file for this run

name: Python
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
workflow_dispatch:
jobs:
test-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download build files
uses: ./.github/composite-actions/download-files
with:
download-pybind: true
download-datasets: false
- name: Configure CMake
run: >
cmake -B ${{github.workspace}}/build
-DCMAKE_C_COMPILER=gcc-10
-DCMAKE_CXX_COMPILER=g++-10
-DBOOST_ROOT=${{github.workspace}}/lib/boost
-DCMAKE_BUILD_TYPE=Release
-Dgtest_disable_pthreads=OFF
-DASAN=OFF
-DCOMPILE_PYBIND=ON
-DCOMPILE_TESTS=OFF
- name: Build
run: cmake --build ${{github.workspace}}/build --config Release
- name: Test
working-directory: ${{github.workspace}}/build/python_bindings
shell: bash
run: python testing_script.py