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,26 @@ 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 : ["1.25.0", "1.25.2", "1.26.4", "2.0.2", "2.1.3", "2.2.6", "2.3.1"]
75
74
76
75
steps :
77
76
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
78
77
79
- - name : Install uv
80
- uses : astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb
78
+ - uses : astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb
81
79
with :
82
- python-version : ${{ matrix.python-version }}
80
+ python-version : " 3.11 "
83
81
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
82
+ - name : mypy
83
+ run : >
84
+ uv run --no-editable -- group=test_numpy --with="numpy==${{ matrix.numpy-version }}"
85
+ mypy --tb --no-incremental --cache-dir=/dev/null tests/integration/test_numpy.py
88
86
89
- - name : Upload coverage report
90
- uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24
91
- with :
92
- token : ${{ secrets.CODECOV_TOKEN }}
87
+ # TODO: (based)pyright
88
+
89
+ # TODO: integration tests for other libs
0 commit comments