Skip to content

Add GitHub Actions CI pipeline with uv#1

Merged
jwgwalton merged 5 commits intomainfrom
copilot/add-ci-pipeline-for-tests
Jan 23, 2026
Merged

Add GitHub Actions CI pipeline with uv#1
jwgwalton merged 5 commits intomainfrom
copilot/add-ci-pipeline-for-tests

Conversation

Copy link
Contributor

Copilot AI commented Jan 23, 2026

Adds CI workflow to run tests on push and PR to main.

Changes

  • Workflow: .github/workflows/ci.yml
    • Python 3.11 environment
    • Official astral-sh/setup-uv@v4 action
    • uv sync --frozen --all-extras for reproducible dependency installation
    • uv run pytest for test execution
    • Explicit contents: read permission (security best practice)
- name: Install dependencies
  run: uv sync --frozen --all-extras

- name: Run tests
  run: uv run pytest

The --frozen flag ensures lockfile integrity, --all-extras includes dev dependencies (pytest).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • astral.sh
    • Triggering command: /usr/bin/curl curl -LsSf REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Create a github actions CI pipeline that runs the tests, use uv to install the dependencies with uv sync


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 4 commits January 23, 2026 17:06
Co-authored-by: jwgwalton <7936236+jwgwalton@users.noreply.github.com>
Co-authored-by: jwgwalton <7936236+jwgwalton@users.noreply.github.com>
Co-authored-by: jwgwalton <7936236+jwgwalton@users.noreply.github.com>
Co-authored-by: jwgwalton <7936236+jwgwalton@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub Actions CI pipeline to run tests Add GitHub Actions CI pipeline with uv Jan 23, 2026
Copilot AI requested a review from jwgwalton January 23, 2026 17:10
@jwgwalton jwgwalton marked this pull request as ready for review January 23, 2026 17:16
@jwgwalton jwgwalton merged commit 05af381 into main Jan 23, 2026
1 check passed
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.

2 participants