Skip to content

use Py<PyAny> instead of Bound in from_pyany #28

use Py<PyAny> instead of Bound in from_pyany

use Py<PyAny> instead of Bound in from_pyany #28

name: HQS CI tests for rust pyo3 repos
on:
workflow_dispatch:
pull_request:
branches: ["main"]
jobs:
linting:
uses: HQSquantumsimulations/reusable_workflows/.github/workflows/reusable_linting_rust_pyo3.yml@main
unittests:
uses: HQSquantumsimulations/reusable_workflows/.github/workflows/reusable_unittests_rust_pyo3.yml@main
with:
# Run tests also on windows runners
windows: true
# Run tests also on macos runners
macos: true
# Test code coverage of rust core is over 90 percent
test_code_coverage: false
rust_package_name: "qoqo_calculator"
build_tests:
uses: HQSquantumsimulations/reusable_workflows/.github/workflows/reusable_build_tests_rust_pyo3.yml@main
with:
# Run tests also on windows runners
windows: true
# Run tests also on macos runners
macos: true
py_interface_folder: "qoqo_calculator_pyo3"
has_python_tests: true