Local development and tests how to
- Geth
- Navigate to
integration tests
- Run
go run main.go build
. This will build core locally and expose it aschainlink-aptos:latest
- You can optionally set the
--dir
flag to overwrite the core directory and skip cloning it - Check
.example.env
for the requirements. You needCORE_REPO
andCORE_REF
exported or in.env
- You can optionally set the
- Run
go run main.go deploy
- This will deploy everything locally and explose the ports so you can access the nodes and logs
- You need the env vars from
.example.env
with the information and images
cp .example.env .env
cd integration-tests/smoke
go test
If you want to test the CI with a custom core image you need to specify in the PR body either the commit sha or branch name in the following format core_ref:<sha>;
e.g core_ref:develop;
.
Note: Develop does not work until the core aptos-init branch is merged