Skip to content

ci: add GitHub Actions workflow (test + lint) - #1

Open
LiberiFatali wants to merge 1 commit into
mainfrom
feat/ci-pip
Open

ci: add GitHub Actions workflow (test + lint)#1
LiberiFatali wants to merge 1 commit into
mainfrom
feat/ci-pip

Conversation

@LiberiFatali

Copy link
Copy Markdown
Owner

Fork-internal test run — not the upstream PR yet.

Adds .github/workflows/ci.yml with two blocking jobs on PRs to main and pushes to main:

  • test: installs the pinned requirements.txt (deterministic on pydantic-ai 1.0.6) + dev tools, installs the package with --no-deps so pip never re-resolves dependency floors, runs pytest.
  • lint: runs ruff check (github-format annotations) and ruff format --check on only the .py files changed in the PR, so pre-existing repo-wide debt never blocks unrelated PRs.

Notes for this test run:

Two blocking jobs on PRs to main and pushes to main, using the pinned
requirements.txt so runs are deterministic on pydantic-ai 1.0.6:
- test: installs the freeze + dev tools, installs the package with
  --no-deps so pip never re-resolves dependency floors, runs pytest.
- lint: runs ruff check (github-format annotations) and ruff format
  --check on only the .py files changed in the PR, so pre-existing
  repo-wide debt never blocks unrelated PRs.
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