-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (32 loc) · 771 Bytes
/
Copy pathci.yml
File metadata and controls
40 lines (32 loc) · 771 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
name: CI
on:
pull_request:
push:
branches: [ main ]
jobs:
lint-test-docs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.13']
os: [ubuntu-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install protoc
uses: arduino/setup-protoc@v3
with:
version: '23.x'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv sync
- name: Lint and type check
run: uv run poe lint
- name: Run tests
run: |
uv run pytest