1
- name : ' Test'
1
+ name : " Test"
2
2
3
3
on :
4
4
push :
8
8
workflow_dispatch :
9
9
10
10
env :
11
- MPLBACKEND : ' Agg'
11
+ MPLBACKEND : " Agg"
12
12
13
13
jobs :
14
14
released :
@@ -19,34 +19,41 @@ jobs:
19
19
matrix :
20
20
# Don't use macos-latest because it is arm64
21
21
os : [ubuntu-latest, windows-latest, macos-13]
22
- python-version : ['3.9', '3.10', '3.11', '3.12']
22
+ python-version : ["3.9", "3.10", "3.11", "3.12"]
23
+ include :
24
+ - numpy-version : " <2.0"
25
+ - numpy-version : " >= 2.0"
26
+ os : ubuntu-latest
27
+
28
+ name : OS ${{ matrix.os }} - Python ${{ matrix.python-version }} - Numpy ${{ matrix.numpy-version }}
23
29
24
30
steps :
25
- - uses : actions/checkout@v3
31
+ - uses : actions/checkout@v3
26
32
27
- - name : Install project dependencies
28
- uses : ./.github/setup
29
- with :
30
- os : ${{ matrix.os }}
31
- python-version : ${{ matrix.python-version }}
33
+ - name : Install project dependencies
34
+ uses : ./.github/setup
35
+ with :
36
+ os : ${{ matrix.os }}
37
+ python-version : ${{ matrix.python-version }}
38
+ numpy-version : ${{ matrix.numpy-version }}
32
39
33
- - name : Run mypy on 'tests' (using the local stubs) and on the local stubs
34
- run : poetry run poe mypy
40
+ - name : Run mypy on 'tests' (using the local stubs) and on the local stubs
41
+ run : poetry run poe mypy
35
42
36
- - name : Run pyright on 'tests' (using the local stubs) and on the local stubs
37
- run : poetry run poe pyright
43
+ - name : Run pyright on 'tests' (using the local stubs) and on the local stubs
44
+ run : poetry run poe pyright
38
45
39
- - name : Run pytest
40
- run : poetry run poe pytest
46
+ - name : Run pytest
47
+ run : poetry run poe pytest
41
48
42
- - name : Install pandas-stubs and run tests on the installed stubs
43
- run : poetry run poe test_dist
49
+ - name : Install pandas-stubs and run tests on the installed stubs
50
+ run : poetry run poe test_dist
44
51
45
52
precommit :
46
53
runs-on : ubuntu-latest
47
54
timeout-minutes : 10
48
55
49
56
steps :
50
- - uses : actions/checkout@v3
57
+ - uses : actions/checkout@v3
51
58
52
- -
uses :
pre-commit/[email protected]
59
+ -
uses :
pre-commit/[email protected]
0 commit comments