Repository navigation
mv need_config_workflow #83
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: CI | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install system dependencies (OpenGL/EGL) | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libegl1 libgl1 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Compile Python files | |
| run: | | |
| uv run python -m compileall -q -x '\.venv' . | |
| - name: Run tests | |
| run: | | |
| PYTHONPATH=src uv run python -m unittest discover -s tests -p 'test*.py' |