Files
semantica/examples/ci/gitlab-ci.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

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"'