-
Notifications
You must be signed in to change notification settings - Fork 37
53 lines (45 loc) · 1.33 KB
/
regression.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Regression
on:
pull_request:
push:
branches:
- master
jobs:
regression:
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', 'pypy3.9']
exclude:
# Prebuilt pillow wheels aren't always available for the relevant PyPy version.
# The Ubuntu runner has zlib headers and can build it locally, but these can't without more work.
- os: macOS-latest
python-version: pypy3.9
- os: windows-latest
python-version: pypy3.9
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Checkout tags
shell: bash
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: setup.py
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install -e .
- name: Test
run: make -C regression
shell: bash
env:
NMLC: nmlc