Files
semantica/examples/ci/github-actions.yml
T
KaifAhmad1 e9ed87ff96 ci: add reusable install action, install-matrix, and release hardening
Distribution and trust-signal infrastructure to make pip install semantica
frictionless in downstream CI and to bring the release pipeline in line
with mature OSS practice:

- .github/actions/setup-semantica: reusable composite action other repos
  can call to install + verify semantica in one step
- install-matrix.yml: verifies the published package installs and imports
  cleanly across Ubuntu/macOS/Windows x Python 3.9-3.12, weekly + on
  release; backs a new README badge
- scorecard.yml: OpenSSF Scorecard analysis, weekly + on push to main,
  backing a new README badge
- release.yml: twine check gate before publish, catching a broken PyPI
  long-description render before it ships
- CITATION.cff: enables GitHub's native "Cite this repository" button
- examples/ci/: copy-paste GitHub Actions, GitLab CI, and CircleCI
  templates for projects adopting semantica
- GROWTH.md: tracked checklist of distribution channels, what's done vs
  outstanding, and guardrails against inflating metrics artificially
2026-08-30 16:34:51 +05:30

33 lines
810 B
YAML

# Drop this in as .github/workflows/semantica.yml in your own project.
#
# Installs Semantica and runs a smoke import + your test suite. Swap the
# smoke-test step for whatever your project actually does with Semantica
# (build a context graph, run an ingest pipeline, etc.).
name: Semantica
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install semantica
pip install -r requirements.txt # your project's own dependencies
- name: Run tests
run: pytest