テスト用コンテナの調整 (#7838)

* Tune test container

* docs

* fix cp config

* doc

* a
This commit is contained in:
MeiMei 2021-10-16 17:12:20 +09:00 committed by GitHub
parent 345a9d3525
commit 03b04acb16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 5 deletions

View file

@ -57,6 +57,17 @@ If your language is not listed in Crowdin, please open an issue.
- Test codes are located in [`/test`](/test).
### Run test
Create a config file.
```
cp test/test.yml .config/
```
Prepare DB/Redis for testing.
```
docker-compose -f test/docker-compose.yml up
```
Alternatively, prepare an empty (data can be erased) DB and edit `.config/test.yml`.
Run all test.
```
npm run test
```