-
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (33 loc) · 982 Bytes
/
Copy pathci.yml
File metadata and controls
46 lines (33 loc) · 982 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
43
44
45
46
name: CI
on:
pull_request:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e ".[dev,http,apprise,otel]"
- run: ruff check .
- run: mypy logquill
- run: pytest --cov
# Memory budgets for the logging hot path (see benchmarks/measure.py). Kept
# out of the matrix above and away from coverage: line tracing inflates
# allocation counts, and the budgets only need one interpreter to gate on.
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: "3.12"
- run: pip install -e ".[dev]"
- run: pytest benchmarks