P0: project setup (packaging, CI, licences, data/oracle scripts)
- pyproject (uv/hatch, ruff, mypy strict, pytest markers), MIT LICENSE, THIRD_PARTY_NOTICES with verbatim BSD-2 (BeadArrayFiles) and MIT (gtc2vcf) - CI workflow for Gitea/GitHub Actions: lint, type check, unit tests - fetch_data.sh p0 now fetches the GSA v4 PGx demo IDATs (the GDA "Demo 36" bundle is a GenomeStudio project), unpacks archives, fixes pipefail bug - make_oracle_gtcs.sh builds bcftools + gtc2vcf and writes oracle GTCs - plan §17: corrected P0 dataset table
This commit is contained in:
1 parent
854cf95029
commit
705138d70b
8 files changed
+269
-27
No files matched your search
@@ -0,0 +1,25 @@
|
||||
# Runs on Gitea Actions (reads .github/workflows) and GitHub Actions.
|
||||
name: ci
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python: ["3.12", "3.13"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: astral-sh/setup-uv@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
- name: Install
|
||||
run: uv venv && uv pip install -e ".[dev]"
|
||||
- name: Lint
|
||||
run: uv run ruff check src tests && uv run ruff format --check src tests
|
||||
- name: Type check
|
||||
run: uv run mypy
|
||||
- name: Unit tests (no downloaded data needed)
|
||||
run: uv run pytest tests/unit -q
|
||||
Reference in new issue
Block a user