|
|
|
@ -30,12 +30,17 @@ docker build -t "$TAG_NAME" . |
|
|
|
|
make upload |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
* To run the localnet tests outside of the docker image (for dev testing), do: |
|
|
|
|
* To run the test (start localnet, test, and teardown) outside of the docker image (for dev testing), do: |
|
|
|
|
```bash |
|
|
|
|
make test |
|
|
|
|
make run |
|
|
|
|
``` |
|
|
|
|
> This will test whatever is in the main repo (following GO-PATH convention). |
|
|
|
|
|
|
|
|
|
* If you already have a localnet running and want to run just the test suite, do: |
|
|
|
|
```bash |
|
|
|
|
make test |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
* To run the localnet tests, do: |
|
|
|
|
```bash |
|
|
|
|
docker run -v "$(go env GOPATH)/src/github.com/harmony-one/harmony:/go/src/github.com/harmony-one/harmony" harmonyone/node-test |
|
|
|
|