-
Notifications
You must be signed in to change notification settings - Fork 2
65 lines (52 loc) · 1.68 KB
/
Copy pathci.yml
File metadata and controls
65 lines (52 loc) · 1.68 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
54
55
56
57
58
59
60
61
62
63
64
65
# SPDX-FileCopyrightText: 2026 PythonWoods <dev@pythonwoods.dev>
# SPDX-License-Identifier: Apache-2.0
name: Zenzic Core CI
on:
push:
branches: [main]
paths:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- 'uv.lock'
- '.github/workflows/ci.yml'
pull_request:
permissions:
contents: read
jobs:
verify:
name: Audit
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Pillar Matrix: test the boundaries (Floor/Peak) on Linux
# and use a stable anchor for Windows/macOS.
os: [ubuntu-latest]
python-version: ["3.10", "3.14"]
# include:
# - os: windows-latest
# python-version: "3.12"
# - os: macos-latest
# python-version: "3.12"
steps:
- name: Checkout Repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Install just
uses: taiki-e/install-action@ea85faa6acd705ad6d40586db99f1a70b09c2929 # just
- name: Setup uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Sync dependencies
run: uv sync --all-groups --all-extras --frozen
- name: Run unit tests
run: just test
- name: Run Zenzic Quality Gate
run: uv run zenzic check all --strict --format github-annotations --ci
- name: Build Docs
run: uv run mkdocs build --strict
- name: Verify Badge Freshness
run: uv run zenzic score --check-stamp --ci