diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 00000000..50ba32df --- /dev/null +++ b/.gitea/workflows/test.yml @@ -0,0 +1,11 @@ +name: tests +on: [push, pull_request] + +jobs: + pytest: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: astral-sh/setup-uv@v5 + - run: uv sync --frozen + - run: uv run pytest diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index a1c96cdb..00000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,13 +0,0 @@ -test: - image: ghcr.io/astral-sh/uv:python3.13-bookworm-slim - variables: - UV_CACHE_DIR: .uv-cache - cache: - key: - files: - - uv.lock - paths: - - .uv-cache - script: - - uv sync --frozen - - uv run pytest diff --git a/NEXT_SESSION.md b/NEXT_SESSION.md index 254abe74..c97113aa 100644 --- a/NEXT_SESSION.md +++ b/NEXT_SESSION.md @@ -10,9 +10,10 @@ architecture and conventions. Delete this file when the list is done. - **P0 DONE** (commit 6df25bcd, NOT yet pushed — push denied to agent, run `git push origin main`): .gitignore fixed and Takeout dump (23,673 files, personal health data) untracked; note it is still in remote history from - earlier pushes — rewrite history if that ever matters. `.gitlab-ci.yml` - added (assumes GitLab at g.o00.io; swap if Gitea/Forgejo). `gitlab` remote - URL typo (ttps://) fixed. `scripts/backup_db.sh` snapshots the DB, keeps 14. + earlier pushes — rewrite history if that ever matters. CI added at + `.gitea/workflows/test.yml` (remote g.o00.io is Gitea — Actions must be + enabled repo-side with a registered runner). `gitlab` remote URL typo + (ttps://) fixed. `scripts/backup_db.sh` snapshots the DB, keeps 14. - DB: `garmin/data/garmin.db` is canonical — 378 activities (→ 2026-05-10), 349 FITs linked, wellness through 2026-05-17. - The stray `../data/garmin.db` (vault root) was a Takeout-ZIP ingest run from