Experimenting with removing cpp extension in favor of pyoptix #39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |