Spaces:
Sleeping
Sleeping
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test-and-validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install openenv-core | |
| - name: Run unit tests | |
| run: pytest -q | |
| - name: Validate OpenEnv | |
| run: openenv validate | |
| - name: Run submit preflight (CI mode) | |
| run: python submit.py --skip-baseline --skip-docker --no-coverage | |