File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ ci :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v4
15+
16+ - name : Install ffmpeg
17+ run : sudo apt-get update && sudo apt-get install -y ffmpeg
18+
19+ - name : Install Python
20+ uses : actions/setup-python@v5
21+
22+ - name : Install uv
23+ uses : astral-sh/setup-uv@v5
24+ with :
25+ enable-cache : true
26+
27+ - name : Install Python dependencies
28+ run : uv sync --all-extras --dev
29+
30+ - name : Install pip
31+ run : uv run python -m ensurepip
32+
33+ - name : Install bun
34+ run : |
35+ curl -fsSL https://bun.sh/install | bash
36+ echo "$HOME/.bun/bin" >> $GITHUB_PATH
37+
38+ - name : Install Bun dependencies
39+ run : bun install
40+
41+ - name : Run tests
42+ run : uv run python -m unittest discover tests
43+
44+ - name : Python format
45+ run : uv run ruff format --diff .
46+
47+ - name : Python lint
48+ run : uv run ruff check .
You can’t perform that action at this time.
0 commit comments