-
Notifications
You must be signed in to change notification settings - Fork 473
41 lines (34 loc) · 1007 Bytes
/
build.yml
File metadata and controls
41 lines (34 loc) · 1007 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
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- python-version: "3.13"
os: ubuntu-latest
- python-version: "3.12"
os: ubuntu-latest
- python-version: "3.11"
os: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install graphviz
run: sudo apt-get install -y libgraphviz-dev
- name: Install dependencies with uv
run: |
uv pip install --system -e .
uv pip install --system pytest
- name: Run tests
run: pytest -v