Skip to content

Commit

Permalink
fix: Add missing build tags to mockery
Browse files Browse the repository at this point in the history
  • Loading branch information
sbp-bvanb committed Nov 14, 2024
1 parent 2c9c77b commit fba25a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
version: "3"

vars:
BUILD_TAGS: component,e2e,integration
COVERPROFILE: profile.cov
GCI_VERSION: 0.13.5
GOLANGCI_LINT_VERSION: 1.61.0
Expand Down Expand Up @@ -126,7 +127,7 @@ tasks:
- |
echo "GOLANG_PARALLEL_TESTS: {{.GOLANG_PARALLEL_TESTS}}"
golangci-lint run \
--build-tags component,e2e,integration \
--build-tags {{.BUILD_TAGS}} \
--concurrency {{.GOLANG_PARALLEL_TESTS}} \
--out-format=colored-line-number \
--timeout 2m30s \
Expand Down Expand Up @@ -169,7 +170,8 @@ tasks:
{{.MOCKERY_BIN}} \
--dir {{.MOCK_GENERATE_DIR}} \
--name {{.MOCK_GENERATE_INTERFACE_NAME}} \
--output {{.MOCK_GENERATE_DIR}}/mocks
--output {{.MOCK_GENERATE_DIR}}/mocks \
--tags {{.BUILD_TAGS}}
test:
silent: true
cmds:
Expand Down

0 comments on commit fba25a7

Please sign in to comment.