-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 1.01 KB
/
tests.yml
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
name: Tests
on:
push:
branches:
- main
paths-ignore:
- '*.md'
pull_request:
branches:
- main
paths-ignore:
- '*.md'
jobs:
tests:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- {name: Linux, python: '3.11', os: ubuntu-latest, nox: "tests"}
- {name: Windows, python: '3.10', os: windows-latest, nox: "tests"}
- {name: Mac, python: '3.10', os: macos-latest, nox: "tests"}
- {name: Py312, python: '3.12', os: ubuntu-latest, nox: "tests"}
- {name: Py310, python: '3.10', os: ubuntu-latest, nox: "tests"}
- {name: Lint, python: '3.11', os: ubuntu-latest, nox: "lint"}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install uv
run: pip install uv
- name: Sync
run: make sync
- name: Run tests
run: make test