File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Validate static types in quaddtype
2
+ permissions : read-all
3
+
4
+ on :
5
+ pull_request :
6
+ paths :
7
+ - .github/workflows/typecheck.yml
8
+ - quaddtype/numpy_quaddtype/*
9
+ - quaddtype/meson.build
10
+ - quaddtype/pyproject.toml
11
+ workflow_dispatch :
12
+
13
+ concurrency :
14
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
15
+ cancel-in-progress : true
16
+
17
+ jobs :
18
+ typecheck_quaddtype :
19
+ runs-on : ubuntu-latest
20
+ timeout-minutes : 2
21
+
22
+ steps :
23
+
24
+
25
+ -
uses :
astral-sh/[email protected]
26
+ with :
27
+ activate-environment : true
28
+ python-version : " 3.10"
29
+
30
+ - name : install
31
+ working-directory : quaddtype
32
+ run : uv pip install mypy pyright .
33
+
34
+ - name : pyright
35
+ working-directory : quaddtype
36
+ run : pyright
37
+
38
+ - name : pyright --verifytypes
39
+ working-directory : quaddtype
40
+ run : pyright --ignoreexternal --verifytypes numpy_quaddtype
41
+
42
+ - name : mypy
43
+ working-directory : quaddtype
44
+ run : mypy --no-incremental --cache-dir=/dev/null .
45
+
46
+ - name : stubtest
47
+ working-directory : quaddtype
48
+ run : stubtest --mypy-config-file pyproject.toml numpy_quaddtype
You can’t perform that action at this time.
0 commit comments