Skip to content

Commit

Permalink
milestone1: Add metadatas from multiple chains and docker file for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cdamian committed Feb 10, 2023
1 parent 3e4b439 commit aa507a8
Show file tree
Hide file tree
Showing 10 changed files with 239 additions and 172 deletions.
7 changes: 7 additions & 0 deletions Dockerfile_milestone1
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM golang:1.18

COPY . /go-substrate-rpc-client/events-parsing-v2/milestone-1

WORKDIR /go-substrate-rpc-client/events-parsing-v2/milestone-1

CMD go test -v ./events/...
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ test-types-decode: ## run tests for types decode
generate-mocks: ## generate mocks
@docker run -v `pwd`:/app -w /app --entrypoint /bin/sh vektra/mockery:v2.13.0-beta.1 -c 'go generate ./...'

test-milestone1:
@docker build -t gsrpc-m1 -f Dockerfile_milestone1 .
@docker run --rm gsrpc-m1

help: ## shows this help
@sed -ne '/@sed/!s/## //p' $(MAKEFILE_LIST)

Expand Down
Loading

0 comments on commit aa507a8

Please sign in to comment.