All checks were successful
Test / test (push) Successful in 2m15s
The act_runner doesn't have Node.js in PATH, which is required by actions/checkout@v4. Use catthehacker/ubuntu:act-latest container. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
580 B
YAML
32 lines
580 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches: [main, develop]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ghcr.io/catthehacker/ubuntu:act-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v6
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.13"
|
|
|
|
- name: Install dependencies
|
|
run: uv sync
|
|
|
|
- name: Run tests
|
|
run: uv run pytest tests/ -v --tb=short
|