-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Makefile
30 lines (20 loc) · 604 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
install:
poetry install
install_poetry:
curl -sSL https://install.python-poetry.org | python -
poetry install
tests: install tests_only tests_pre_commit
tests_pre_commit:
poetry run pre-commit run --all-files
run_infra:
npx supabase --workdir infra start -x studio,gotrue,postgrest,inbucket,realtime,edge-runtime,logflare,vector,pgbouncer,pg_prove
stop_infra:
npx supabase --workdir infra stop
run_tests: tests
local_tests: run_infra sleep tests
tests_only:
poetry run pytest --cov=./ --cov-report=xml --cov-report=html -vv
build_sync:
poetry run unasync storage3 tests
sleep:
sleep 2