Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathMakefile
More file actions
Latest commit
28 lines (22 loc) · 570 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (22 loc) · 570 Bytes
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
.PHONY: multitest
DEFAULT_GROUPS=--group dev --group lsp --group mcp --group debug
deps:
pdm lock $(DEFAULT_GROUPS)|| pdm lock $(DEFAULT_GROUPS) --group legacy;\
pdm install
test:
make deps;\
pdm run pytest --enable-coredumpy --coredumpy-dir dumps
multitest:
@for i in {11..13};do\
pdm use python3.$$i;\
make test;\
done
coverage:
make deps;\
pdm run coverage run -m pytest;\
pdm run coverage html;\
pdm run coverage report -m
lint:
pdm run ruff check src/**/*.py;\
pdm run basedpyright src/**/*.py;\
selene lua/**/*.lua plugin/*.lua