-
Notifications
You must be signed in to change notification settings - Fork 6
53 lines (41 loc) · 934 Bytes
/
ci.yml
File metadata and controls
53 lines (41 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: CI Tests
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]
permissions:
contents: read
env:
BASH_ENV: ~/.bashrc
SHELL: /bin/bash
jobs:
test:
name: Integration Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
timeout-minutes: 15
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Setup test environment
run: mkdir -p .claude/state
- name: Run linting
run: |
uvx ruff check --no-fix .
uvx ruff format --check .
- name: Run tests
run: uvx pytest tests/ -v --tb=short
env:
CI: true