File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 1
1
.PHONY : pytest pre-commit mypy tests infra stop-infra
2
2
3
- pre-commit :
4
- uv run pre-commit run --all-files
5
-
6
3
mypy :
7
4
uv run --exact --package realtime mypy src/realtime
8
5
12
9
stop-infra :
13
10
supabase --workdir infra stop
14
11
15
- tests : pre-commit mypy infra pytest
12
+ tests : mypy infra pytest
16
13
17
14
pytest :
18
15
uv run --exact --package realtime pytest --cov=realtime --cov-report=xml --cov-report=html -vv
Original file line number Diff line number Diff line change 1
1
.PHONY : pytest pre-commit unasync build-sync tests
2
2
3
3
pytest :
4
- uv run --package --exact supabase pytest --cov=./ --cov-report=xml --cov-report=html -vv
5
-
6
- pre-commit :
7
- uv run pre-commit run --all-files
4
+ uv run --exact --package supabase pytest --cov=./ --cov-report=xml --cov-report=html -vv
8
5
9
6
unasync :
10
7
uv run run-unasync.py
11
-
12
8
build-sync : unasync
13
9
sed -i ' s/asyncio.create_task(self.realtime.set_auth(access_token))//g' src/supabase/_sync/client.py
14
10
sed -i ' s/asynch/synch/g' src/supabase/_sync/auth_client.py
@@ -19,4 +15,4 @@ build-sync: unasync
19
15
sed -i ' s/SyncHTTPTransport/HTTPTransport/g' tests/_sync/test_client.py
20
16
sed -i ' s/SyncMock/Mock/g' tests/_sync/test_client.py
21
17
22
- tests : pre-commit pytest
18
+ tests : pytest
You can’t perform that action at this time.
0 commit comments