Spaces:
Sleeping
Sleeping
| name: Validation | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install project | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e .[dev] | |
| - name: Run test suite | |
| run: python -m pytest -q | |
| - name: Run validation gate | |
| run: python scripts/validate_release.py | |
| - name: Build Docker image | |
| run: docker build -t osint-openenv-validation . | |