eigent/.github/workflows/test.yml
Dream ce782762e8
chore: upgrade backend Python to 3.11 (#1142)
Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
2026-02-05 05:24:52 +08:00

39 lines
635 B
YAML

name: Test
'on':
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
pytest:
name: Run Python Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Set up Python
run: uv python install 3.11
- name: Install dependencies
run: |
cd backend
uv sync
- name: Run unit tests
run: |
cd backend
uv run pytest tests/app -v