Skip to content

Fix CI: Use maturin build instead of develop to avoid virtualenv requ… #3

Fix CI: Use maturin build instead of develop to avoid virtualenv requ…

Fix CI: Use maturin build instead of develop to avoid virtualenv requ… #3

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
pip install maturin pytest
- name: Build wheel
run: maturin build --release
- name: Install built package
run: |
pip install target/wheels/*.whl
- name: Test imports
run: |
python -c "import que_core_engine; print('✅ Rust engine imported')"
python -c "from que_core.tools.system_tools import system_query; print('✅ Python tools imported')"
- name: Run basic functionality test
run: |
python -c "
from que_core.tools.system_tools import system_query
result = system_query(args={'what': 'overview'})
assert result['success'], f'System query failed: {result[\"error\"]}'
print('✅ Basic functionality test passed')
"