-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (32 loc) · 834 Bytes
/
ci.yml
File metadata and controls
42 lines (32 loc) · 834 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
name: Library Health
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
library-health:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install uv
run: python -m pip install uv
- name: Sync Junjo library dependencies
run: uv sync --frozen --package junjo --extra dev
- name: Ruff
run: uv run ruff check .
- name: Pytest
run: uv run pytest -q
- name: Ty
run: uv run ty check --error-on-warning src
- name: Build distributions
run: uv run python -m build
- name: Validate distributions
run: uv run twine check dist/*