-
Notifications
You must be signed in to change notification settings - Fork 5
53 lines (43 loc) · 1.26 KB
/
Copy pathci.yml
File metadata and controls
53 lines (43 loc) · 1.26 KB
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
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
# this repo
- uses: actions/checkout@v4
with:
path: multicam-sim
# the consumer reader — the smoke triangulates through its real DLT.
# pinned to the commit whose convention this repo mirrors.
- uses: actions/checkout@v4
with:
repository: bamdadd/multicam-occlusion
ref: 59f49067dbc03a778de8bc5aa0001c53f6de308d # multicam-occlusion@59f4906
path: multicam-occlusion
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Set up Python
run: uv python install 3.11
working-directory: multicam-sim
- name: Sync dependencies
run: uv sync --dev
working-directory: multicam-sim
- name: Ruff lint
run: uv run ruff check .
working-directory: multicam-sim
- name: Ruff format check
run: uv run ruff format --check .
working-directory: multicam-sim
- name: Mypy
run: uv run mypy src
working-directory: multicam-sim
- name: Pytest
run: uv run pytest -q
working-directory: multicam-sim