-
-
Notifications
You must be signed in to change notification settings - Fork 8
112 lines (80 loc) · 2.99 KB
/
ci.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
name: CI
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
lint:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: markdownlint
uses: DavidAnson/markdownlint-cli2-action@v17
with:
config: ".markdownlint.yaml"
globs: "**/*.md"
- run: |
pipx install poetry poethepoet
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: poetry
- name: install
run: poetry install
- name: lint (ruff)
run: poe lint --output-format=github
- name: typetest
run: poe typetest
- name: verifytypes (basedpyright)
run: poe verifytypes
# TODO: scipy._lib
- name: stubtest scipy.cluster
run: poe stubtest scipy.cluster -- --ignore-unused-allowlist
- name: stubtest scipy.constants
run: poe stubtest scipy.constants -- --ignore-unused-allowlist
- name: stubtest scipy.datasets
run: poe stubtest scipy.datasets -- --ignore-unused-allowlist
- name: stubtest scipy.fft scipy.fftpack
run: poe stubtest scipy.fft scipy.fftpack -- --ignore-unused-allowlist
- name: stubtest scipy.integrate
run: poe stubtest scipy.integrate -- --ignore-unused-allowlist
# TODO: scipy.interpolate
# TODO: scipy.io
- name: stubtest scipy.io.arff scipy.io.matlab
run: poe stubtest scipy.io.arff scipy.io.matlab -- --ignore-unused-allowlist
- name: stubtest scipy.linalg
run: poe stubtest scipy.linalg -- --ignore-unused-allowlist
- name: stubtest scipy.misc
run: poe stubtest scipy.misc -- --ignore-unused-allowlist
# TODO: scipy.ndimage
- name: stubtest scipy.odr
run: poe stubtest scipy.odr -- --ignore-unused-allowlist
- name: stubtest scipy.optimize
run: poe stubtest scipy.optimize -- --ignore-unused-allowlist
# TODO: scipy.signal
# TODO: scipy.sparse
# TODO: scipy.spatial
- name: stubtest scipy.special
run: poe stubtest scipy.special -- --ignore-unused-allowlist
# TODO: scipy.stats
- name: stubtest scipy.stats.contingency
run: poe stubtest scipy.stats.contingency -- --ignore-unused-allowlist
- name: stubtest scipy.stats.distributions
run: poe stubtest scipy.stats.distributions -- --ignore-unused-allowlist
# TODO: scipy.stats.mstats
# TODO: scipy.stats.qmc
# TODO: scipy.stats.sampling
- name: stubtest scipy.version
run: poe stubtest scipy.version -- --ignore-unused-allowlist
# TODO: scipy
- name: stubtest scipy (ignored)
run: poe stubtest -- --concise
continue-on-error: true # TODO