mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
GO-1077: Update Makefile and readme
This commit is contained in:
parent
46693ba5be
commit
faa2be7b76
3 changed files with 28 additions and 4 deletions
14
README.md
14
README.md
|
@ -49,20 +49,28 @@ cd jsaddon
|
|||
npm run test
|
||||
```
|
||||
|
||||
#### Integration tests (WIP)
|
||||
#### Integration and migration tests
|
||||
|
||||
Migration tests are checking process of migration from the old infrastructure.
|
||||
|
||||
First you need to start a docker container via docker-compose:
|
||||
```
|
||||
export ANYTYPE_TEST_GRPC_PORT=31088
|
||||
export ANYTYPE_OLD_TEST_GRPC_PORT=31188
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
Then
|
||||
Then you can run the basic integration tests:
|
||||
```
|
||||
export ANYTYPE_TEST_GRPC_PORT=31088
|
||||
make test-integration
|
||||
```
|
||||
|
||||
And migration tests:
|
||||
```
|
||||
make test-migration
|
||||
```
|
||||
|
||||
|
||||
### Run local gRPC server to debug
|
||||
⚠️ Make sure to update/install protobuf compiler from [this repo](https://github.com/anytypeio/protobuf) using `make setup-protoc`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue