-
Notifications
You must be signed in to change notification settings - Fork 17
test: update mockery configuration and regenerate mocks #955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 17 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
08d27b7
build(deps): Bump github.com/vektra/mockery/v2 from 2.41.0 to 2.46.2
dependabot[bot] ed05eea
chore: update deps
lklimek 35627d9
build(deps): Upgrade go to 1.23
lklimek e924ddc
chore: trigger workflow
lklimek cdd6e63
Merge remote-tracking branch 'origin/dependabot/go_modules/github.com…
lklimek f7430f2
chore: make mockery
lklimek 19ddf57
chore: fix typo
lklimek ed40649
Merge branch 'v1.3-dev' into build/go-1.23
lklimek 809073e
build(deps): upgrade golangci-lint to 1.61
lklimek 5e84ee7
build(github): display mockery diff for debugging
lklimek 1f64216
chore: upgrade mockery config to new format
lklimek d4bfcde
chore: update mockery
lklimek 0018a7f
chore: regenerate all mocks
lklimek 2416140
chore: no expecters
lklimek b96c288
chore: updated check-mocks
lklimek 36b0bae
chore: use prebuilt mockery
lklimek 24c796a
Merge remote-tracking branch 'origin/v1.3-dev' into fix/mockery
lklimek 311b1e1
Merge remote-tracking branch 'origin/v1.3-dev' into fix/mockery
lklimek a2b7ed4
Merge branch 'v1.3-dev' into fix/mockery
lklimek ac34cf2
chore: fix consistency of indexermocks invocation
lklimek 10817a3
build(deps): update mockery to 2.46.3
lklimek af889e0
Merge branch 'v1.3-dev' into fix/mockery
lklimek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,7 @@ jobs: | |
| steps: | ||
| - uses: actions/[email protected] | ||
| with: | ||
| go-version: "1.23" | ||
| go-version: "1.23.2" | ||
|
|
||
| - uses: actions/checkout@v4 | ||
|
|
||
|
|
@@ -35,7 +35,7 @@ jobs: | |
| curl -sL "https://github.com/vektra/mockery/releases/download/v${MOCKERY}/mockery_${MOCKERY}_Linux_x86_64.tar.gz" | tar -C /usr/local/bin -xzf - | ||
| make mockery 2>/dev/null | ||
|
|
||
| if ! git diff --stat --exit-code ; then | ||
| if ! git diff --exit-code ; then | ||
| echo ">> ERROR:" | ||
| echo ">>" | ||
| echo ">> Generated mocks require update (either Mockery or source files may have changed)." | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| --- | ||
| with-expecter: false | ||
| dir: "{{.InterfaceDir}}/mocks" | ||
| mockname: "{{.InterfaceName}}" | ||
| outpkg: "mocks" | ||
| filename: "{{.InterfaceName | lower}}.go" | ||
| log-level: "warn" | ||
| disable-version-string: true | ||
| all: false | ||
| packages: | ||
| github.com/dashpay/tenderdash/abci/client: | ||
| interfaces: | ||
| Client: | ||
| github.com/dashpay/tenderdash/abci/types: | ||
| interfaces: | ||
| Application: | ||
| github.com/dashpay/tenderdash/dash/core: | ||
| interfaces: | ||
| Client: | ||
| github.com/dashpay/tenderdash/internal/consensus: | ||
| interfaces: | ||
| Gossiper: | ||
| github.com/dashpay/tenderdash/internal/consensus/versioned/selectproposer: | ||
| interfaces: | ||
| ProposerSelector: | ||
| github.com/dashpay/tenderdash/internal/evidence: | ||
| interfaces: | ||
| BlockStore: | ||
| github.com/dashpay/tenderdash/internal/mempool: | ||
| interfaces: | ||
| Mempool: | ||
| github.com/dashpay/tenderdash/internal/p2p: | ||
| interfaces: | ||
| Transport: | ||
| Connection: | ||
| Channel: | ||
| github.com/dashpay/tenderdash/internal/p2p/client: | ||
| interfaces: | ||
| Client: | ||
| BlockClient: | ||
| SnapshotClient: | ||
| github.com/dashpay/tenderdash/internal/state: | ||
| interfaces: | ||
| BlockStore: | ||
| EvidencePool: | ||
| Executor: | ||
| Store: | ||
| github.com/dashpay/tenderdash/internal/state/indexer: | ||
| interfaces: | ||
| EventSink: | ||
| github.com/dashpay/tenderdash/internal/statesync: | ||
| interfaces: | ||
| StateProvider: | ||
| github.com/dashpay/tenderdash/libs/store: | ||
| interfaces: | ||
| Store: | ||
| github.com/dashpay/tenderdash/light/provider: | ||
| interfaces: | ||
| Provider: | ||
| github.com/dashpay/tenderdash/light/rpc: | ||
| interfaces: | ||
| LightClient: | ||
| github.com/dashpay/tenderdash/rpc/client: | ||
| interfaces: | ||
| Client: | ||
| RemoteClient: | ||
| github.com/dashpay/tenderdash/types: | ||
| interfaces: | ||
| Store: | ||
| PrivValidator: | ||
| BlockEventPublisher: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.