forked from forge-sdlc/forge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (20 loc) · 735 Bytes
/
Copy pathMakefile
File metadata and controls
30 lines (20 loc) · 735 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
29
30
.PHONY: test test-unit test-contract test-flow test-integration test-e2e test-pr coverage lint
PYTEST := uv run pytest
test: test-unit test-contract test-flow
test-unit:
$(PYTEST) tests/unit -q
test-contract:
$(PYTEST) tests/contracts -q
test-flow:
$(PYTEST) tests/flows -q
test-integration:
$(PYTEST) tests/integration -q --strict-markers -m "integration and not quarantine"
test-e2e:
$(PYTEST) tests/e2e -q --strict-markers -m "e2e and not external"
test-pr:
$(PYTEST) tests/unit tests/contracts tests/flows -q
coverage:
$(PYTEST) tests/unit tests/contracts tests/flows --strict-markers --cov=forge --cov-branch --cov-report=term-missing --cov-report=xml
lint:
uv run ruff check src
uv run ruff format --check src