Skip to content

CI

CI #4

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up 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 pytest ruff
- name: Lint (non-blocking)
run: ruff check pipeline/ || true
- name: Unit tests
run: pytest test/ -v --ignore=test/quick_links.ttl --ignore=test/wikidata_links.ttl
if: hashFiles('test/test_*.py') != ''