18
18
FORCE_COLOR : 3
19
19
20
20
jobs :
21
- format :
21
+ lint :
22
22
name : lint
23
23
runs-on : ubuntu-latest
24
24
steps :
@@ -35,10 +35,11 @@ jobs:
35
35
- name : mypy
36
36
run : uv run mypy --tb --no-incremental --cache-dir=/dev/null src
37
37
38
- checks :
39
- name : test runtime
38
+ # TODO: (based)pyright
39
+
40
+ test_runtime :
41
+ name : runtime tests
40
42
runs-on : ${{ matrix.runs-on }}
41
- needs : [format]
42
43
strategy :
43
44
fail-fast : false
44
45
matrix :
@@ -63,30 +64,27 @@ jobs:
63
64
with :
64
65
token : ${{ secrets.CODECOV_TOKEN }}
65
66
66
- check_oldest :
67
- name : runtime tests (oldest deps)
68
- runs-on : ${{ matrix.runs-on }}
69
- needs : [format]
67
+ test_integration_numpy :
68
+ name : integration tests (numpy)
69
+ runs-on : ubuntu-latest
70
70
strategy :
71
71
fail-fast : false
72
72
matrix :
73
- python -version : ["3.11"]
74
- runs-on : [ubuntu-latest ]
73
+ numpy -version :
74
+ ["1.25.0", "1.25.2", "1.26.4", "2.0.2", "2.1.3", "2.2.6", "2.3.1" ]
75
75
76
76
steps :
77
77
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
78
78
79
- - name : Install uv
80
- uses : astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba
79
+ - uses : astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba
81
80
with :
82
- python-version : ${{ matrix.python-version }}
81
+ python-version : " 3.11 "
83
82
84
- - name : Test package
85
- run : >-
86
- uv run --group=test_runtime --resolution=lowest-direct
87
- pytest --cov --cov-report=xml --cov-report=term --durations=20
83
+ - name : mypy
84
+ run : >
85
+ uv run --no-editable -- group=test_numpy --with="numpy==${{ matrix.numpy-version }}"
86
+ mypy --tb --no-incremental --cache-dir=/dev/null tests/integration/test_numpy.py
88
87
89
- - name : Upload coverage report
90
- uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24
91
- with :
92
- token : ${{ secrets.CODECOV_TOKEN }}
88
+ # TODO: (based)pyright
89
+
90
+ # TODO: integration tests for other libs
0 commit comments