vet

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4233b188233b833b4e31b725b6f513ce03a601bd
parent 9a8a44c2cef6313b2fb116eb1235955f310d7bc1
Author: Andrew Laack <andrew.laack@imbue.com>
Date:   Mon,  2 Feb 2026 12:46:08 -0600

Setup CI

Diffstat:
A.github/workflows/test.yml | 35+++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml @@ -0,0 +1,35 @@ +name: Tests + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Install uv + uses: astral-sh/setup-uv@v4 + + - name: Set up Python + run: uv python install 3.12 + + - name: Install dependencies + run: uv sync + + - name: Run tests + run: uv run pytest + + - name: Run vet + if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository + env: + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} + run: uv run vet --config ci + continue-on-error: true