forked from litestar-org/litestar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
50 lines (34 loc) · 1018 Bytes
/
Makefile
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
.PHONY: docs
docs-clean:
rm -rf docs/_build
docs-serve:
sphinx-autobuild docs docs/_build/ -j auto --watch litestar,examples
docs: docs-clean
sphinx-build -M html docs docs/_build/ -a -j auto -W --keep-going
docs-test:
rm -rf test_docs/_build
sphinx-build -M html test_docs test_docs/_build/ -a
test-examples:
pytest docs/examples
test-sqlalchemy-asyncpg:
pytest tests -m='sqlalchemy_asyncpg'
test-sqlalchemy-psycopg-async:
pytest tests -m='sqlalchemy_psycopg_async'
test-sqlalchemy-psycopg-sync:
pytest tests -m='sqlalchemy_psycopg_sync'
test-sqlalchemy-asyncmy:
pytest tests -m='sqlalchemy_asyncmy'
test-sqlalchemy-oracledb:
pytest tests -m='sqlalchemy_oracledb'
test-sqlalchemy-duckdb:
pytest tests -m='sqlalchemy_duckdb'
test-sqlalchemy-spanner:
pytest tests -m='sqlalchemy_spanner'
test-sqlalchemy-integration:
pytest tests -m='sqlalchemy_integration'
test:
pytest tests
test-all: test test-sqlalchemy-integration test-examples
coverage:
pytest tests --cov=litestar
coverage html