mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-09-10 04:00:35 +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
18 lines
536 B
YAML
18 lines
536 B
YAML
# Drop this in as .gitlab-ci.yml in your own project.
|
|
semantica-test:
|
|
image: python:3.11-slim
|
|
cache:
|
|
paths:
|
|
- .cache/pip
|
|
variables:
|
|
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
|
script:
|
|
- pip install --upgrade pip
|
|
- pip install semantica
|
|
- pip install -r requirements.txt # your project's own dependencies
|
|
- python -c "import semantica; print('semantica', semantica.__version__)"
|
|
- pytest
|
|
rules:
|
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
|
- if: '$CI_COMMIT_BRANCH == "main"'
|