-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (46 loc) · 1.05 KB
/
ci.yml
File metadata and controls
49 lines (46 loc) · 1.05 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
42
43
44
45
46
47
48
49
name: CI
on:
push:
branches:
- main
pull_request:
env:
JUPYTER_PLATFORM_DIRS: '1'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python-version: '3.10'
- python-version: '3.13'
- python-version: '3.13'
extras: min
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
filter: blob:none
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- run: uv pip install --system -e .[${{ matrix.extras == 'min' && 'test' || 'test,jupyter' }}]
- uses: pavelzw/pytest-action@v2
with:
custom-arguments: --color=yes
click-to-expand: false
verbose: true
job-summary: true
emoji: false
check:
if: always()
needs:
- test
runs-on: ubuntu-latest
steps:
- uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}