Skip to content

feat(ci): add GitHub Actions workflow with lint and test jobs#2

Merged
eviweb merged 2 commits intomainfrom
feat/ci-github-actions
Mar 26, 2026
Merged

feat(ci): add GitHub Actions workflow with lint and test jobs#2
eviweb merged 2 commits intomainfrom
feat/ci-github-actions

Conversation

@eviweb
Copy link
Copy Markdown
Owner

@eviweb eviweb commented Mar 26, 2026

Summary

  • Add .github/workflows/ci.yml: two jobs triggered on push and PR to main
    • lint: shellcheck on shell scripts + ruff on Python source
    • test: pytest on Python 3.11 and 3.12 (matrix)
  • Add ruff>=0.4.0 to dev dependencies
  • Fix unused imports flagged by ruff (tests/test_agent.py)
  • Update uv.lock
  • Add CI badge to README.md

Test checklist

  • 20/20 tests pass locally (Python 3.12)
  • ruff check src/ tests/ passes with no errors
  • shellcheck scripts/*.sh tests/run-tests.sh passes

🤖 Generated with Claude Code

eviweb added 2 commits March 26, 2026 12:18
- Add .github/workflows/ci.yml: lint (shellcheck + ruff) and test
  (pytest on Python 3.11 and 3.12) jobs, triggered on push and PR
- Add ruff>=0.4.0 to dev dependencies
- Fix unused imports in tests/test_agent.py (ruff F401)
- Update uv.lock
- Add CI badge to README.md

Signed-off-by: Eric Villard <dev@eviweb.fr>
PEP 668 blocks system-wide pip installs on Debian/Ubuntu runners.
Use uv sync to create a managed venv and uv run to execute commands
within it — the idiomatic uv approach for CI environments.

Signed-off-by: Eric Villard <dev@eviweb.fr>
@eviweb eviweb merged commit 42edcec into main Mar 26, 2026
3 checks passed
@eviweb eviweb deleted the feat/ci-github-actions branch March 26, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant