Skip to content

Add GitHub issue and pull request templates #24

Add GitHub issue and pull request templates

Add GitHub issue and pull request templates #24

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
check:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.14"]
include:
- os: ubuntu-latest
python-version: "3.10"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- run: uv sync
- name: Lint
run: |
uv run poe lint
uv run poe typecheck
- name: Generate API and check for diff
run: |
uv run poe generate-api
git diff --exit-code
- name: Test
env:
# Forks won't have these secrets so e2e tests skip, but pushes
# to main will run them.
BASETEN_E2E_TEST_API_KEY: ${{ secrets.BASETEN_E2E_TEST_API_KEY }}
BASETEN_E2E_TEST_DOMAIN: ${{ secrets.BASETEN_E2E_TEST_DOMAIN }}
BASETEN_E2E_TEST_MODEL_ID: ${{ secrets.BASETEN_E2E_TEST_MODEL_ID }}
run: uv run poe test