-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 1.13 KB
/
Copy pathci.yml
File metadata and controls
41 lines (35 loc) · 1.13 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
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
# Reproducible, locked test run (the required gate).
test:
uses: ./.github/workflows/test.yml
# Compatibility smoke test from a user's perspective: installs the latest
# allowed dependencies and only checks that every figure builds without
# error (image comparison is skipped via HEATMAPTS_SMOKE, since freetype
# renders glyphs differently per OS). Runs across Linux/macOS/Windows to
# catch platform-specific breakage. Non-blocking, so cosmetic rendering
# differences don't fail CI but real breakage surfaces.
compat:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v8.1.0
with:
enable-cache: true
- name: Install Latest Dependencies
run: uv sync --upgrade
- name: Run Smoke Tests
env:
HEATMAPTS_SMOKE: "1"
run: uv run python -m unittest tests/tests.py