Utilize Ginkgo and replace testing library. #9

Merged
abdulrabbani00 merged 27 commits from feature/7-testing-with-ginko+cicd into develop 2022-04-22 12:28:01 +00:00
Showing only changes of commit 431a674306 - Show all commits

View File

@ -66,11 +66,11 @@ jobs:
go install github.com/onsi/ginkgo/v2/ginkgo@latest go install github.com/onsi/ginkgo/v2/ginkgo@latest
- name: Run the tests - name: Run the tests
env:
run: | run: |
cd ipld-ethcl-indexer cd ipld-ethcl-indexer
export GOPATH=./go ls go/
echo $GOPATH go vet ./...
make test go fmt ./...
./go/bin/ginko -r
# export GOPATH=$(echo $GOBIN | rev | cut -d "/" -f 2- | rev) # export GOPATH=$(echo $GOBIN | rev | cut -d "/" -f 2- | rev)