mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-09-02 04:00:40 +00:00
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
33 lines
810 B
YAML
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
|