1
0
Fork 0
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:
Sergey 2023-04-25 18:17:59 +02:00 committed by Mikhail Iudin
parent 46693ba5be
commit faa2be7b76
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
3 changed files with 28 additions and 4 deletions

View file

@ -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`