From 457fa1fce8f6ea0a14cd4c6aabc24f60d39522ea Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 4 Sep 2025 12:54:31 -0400 Subject: [PATCH] Add GitHub Actions CI (#54) --- .github/workflows/ci.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..48f549f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,37 @@ +name: CI + +on: + pull_request: + push: + branches: [ main ] + +jobs: + lint-test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + python-version: ['3.13'] + os: [ubuntu-latest] + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v6 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + uv sync + + - name: Format, lint, type check + run: | + uv run poe format + uv run poe lint + uv run poe lint-types + + - name: Run tests + run: | + uv run pytest