-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 888 Bytes
/
CI.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
name: CI
on:
push:
branches:
- '**'
tags-ignore:
- '*'
jobs:
test:
if: "!contains(github.event.head_commit.message, 'notest')"
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.os == 'windows-latest' }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version:
- "3.10"
- "3.13"
- "3.13t"
# NOTE: Example for excluding OS/python version.
# - os: windows-latest
# python-version: 3.6
# - os: macos-latest
# python-version: 3.8
steps:
- uses: actions/checkout@v4
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v5
with:
version: "0.5.20"
python-version: ${{ matrix.python-version }}
- name: Run tests
run: uv run pytest -s