@@ -10,7 +10,7 @@ BIN := .tmp/bin
10
10
export PATH := $(BIN ) :$(PATH )
11
11
export GOBIN := $(abspath $(BIN ) )
12
12
export PYTHONPATH ?= gen
13
- CONFORMANCE_ARGS ?= --strict_message --expected_failures=tests /conformance/nonconforming.yaml --timeout 10s
13
+ CONFORMANCE_ARGS ?= --strict_message --expected_failures=test /conformance/nonconforming.yaml --timeout 10s
14
14
ADD_LICENSE_HEADER := $(BIN ) /license-header \
15
15
--license-type apache \
16
16
--copyright-holder "Buf Technologies, Inc." \
@@ -20,7 +20,7 @@ PROTOVALIDATE_VERSION ?= v0.14.0
20
20
# Version of the cel-spec that this implementation is conformant with
21
21
# This should be kept in sync with the version in format_test.py
22
22
CEL_SPEC_VERSION ?= v0.24.0
23
- TESTDATA_FILE := tests /testdata/string_ext_$(CEL_SPEC_VERSION ) .textproto
23
+ TESTDATA_FILE := test /testdata/string_ext_$(CEL_SPEC_VERSION ) .textproto
24
24
25
25
.PHONY : help
26
26
help : # # Describe useful make targets
@@ -46,22 +46,22 @@ generate: $(BIN)/buf $(BIN)/license-header ## Regenerate code and license header
46
46
.PHONY : format
47
47
format : install $(BIN ) /license-header # # Format code
48
48
$(ADD_LICENSE_HEADER )
49
- uv run -- ruff format protovalidate tests
50
- uv run -- ruff check --fix protovalidate tests
49
+ uv run -- ruff format protovalidate test
50
+ uv run -- ruff check --fix protovalidate test
51
51
52
52
.PHONY : test
53
53
test : generate install gettestdata # # Run unit tests
54
- uv run -- pytest
54
+ uv run -- python -m unittest
55
55
56
56
.PHONY : conformance
57
57
conformance : $(BIN ) /protovalidate-conformance generate install # # Run conformance tests
58
- protovalidate-conformance $(CONFORMANCE_ARGS ) uv -- run python3 -m tests .conformance.runner
58
+ protovalidate-conformance $(CONFORMANCE_ARGS ) uv -- run python3 -m test .conformance.runner
59
59
60
60
.PHONY : lint
61
61
lint : install # # Lint code
62
- uv run -- ruff format --check --diff protovalidate tests
62
+ uv run -- ruff format --check --diff protovalidate test
63
63
uv run -- mypy protovalidate
64
- uv run -- ruff check protovalidate tests
64
+ uv run -- ruff check protovalidate test
65
65
uv sync --locked
66
66
67
67
.PHONY : install
0 commit comments