Merge pull request #2 from ohewryk/update-poppystructure-rdf #31
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 ] | |
| pull_request: | |
| branches: [ main ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install deps (dev only) | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" | |
| - name: Ruff | |
| run: | | |
| ruff check src scripts \ | |
| --exclude src/poppy/ontology/sources \ | |
| --exclude scripts/ingest | |
| - name: Black | |
| run: | | |
| black --check src scripts --exclude 'src/poppy/ontology/sources|scripts/ingest' | |
| - name: Pytest (non-blocking) | |
| run: pytest -q || true |