Unverified Commit b273b71a authored by github-actions[bot]'s avatar github-actions[bot] Committed by GitHub
Browse files

Pin uv 0.10.0, add Taskfile and pre-push hook, improve tests (#192)



* Pin uv 0.10.0, add Taskfile and pre-push hook, improve tests

- Pin uv version to 0.10.0 instead of latest
- Add Taskfile.yml with build/test/setup tasks
- Add .githooks/pre-push to run tests before push
- Rewrite test/main.py: remove flaky network calls, add assertions,
  use Flask test client, exit with non-zero code on failure

Co-Authored-By: default avatarClaude Opus 4.6 <noreply@anthropic.com>

* Use Taskfile in CI for Linux image tests

Replace build-and-test.sh with task test:linux/test:linux-slim in CI
workflow. This adds binary verification and keeps CI in sync with
local pre-push hook.

Co-Authored-By: default avatarClaude Opus 4.6 <noreply@anthropic.com>

* Remove build-and-test.sh, use Taskfile for all CI tests

- Add build:windows and test:windows tasks to Taskfile
- Migrate windows CI job to use task test:windows
- Update commented-out osx CI job to reference Taskfile
- Include windows in `task test` (all images)
- Delete build-and-test.sh

Co-Authored-By: default avatarClaude Opus 4.6 <noreply@anthropic.com>

* Fix multi-platform builds: uv on amd64/arm64, pip fallback on others

COPY --from=ghcr.io/astral-sh/uv fails on platforms not in the uv manifest
(386, arm/v5, arm/v7, s390x, ppc64le, riscv64). Replace with conditional
install via TARGETARCH: pip-install uv on amd64/arm64, plain pip elsewhere.
Entrypoint detects uv at runtime for requirements and PyPI mirror config.

Co-Authored-By: default avatarClaude Opus 4.6 <noreply@anthropic.com>

* Pin arduino/setup-task to full commit SHA for Sonar S7637

Co-Authored-By: default avatarClaude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: default avatarФедор Батоногов <fekinos@me.com>
Co-authored-by: default avatarClaude Opus 4.6 <noreply@anthropic.com>
parent 40922c11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment