Skip to content

Experimenting with removing cpp extension in favor of pyoptix #39

Experimenting with removing cpp extension in favor of pyoptix

Experimenting with removing cpp extension in favor of pyoptix #39

Workflow file for this run

name: Test
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
# Lightweight checks that run on every PR (no GPU needed)
lint:
name: Lint & Import Check
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install ruff
- name: Run ruff linter
run: |
ruff check rtxpy/ --output-format=github || true
- name: Check package structure
run: |
python -c "import ast; ast.parse(open('rtxpy/__init__.py').read())"
python -c "import ast; ast.parse(open('rtxpy/rtx.py').read())"
echo "Package syntax OK"