CI: swap GitLab CI for Gitea Actions (remote is Gitea)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
11
.gitea/workflows/test.yml
Normal file
11
.gitea/workflows/test.yml
Normal file
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user