Skip to content
Snippets Groups Projects
Commit b47b2587 authored by dakkar's avatar dakkar
Browse files

example test config

parent b4e8e781
No related branches found
No related tags found
No related merge requests found
url: 'http://misskey.local'
setupPassword: example_password_please_change_this_or_you_will_get_hacked
# ローカルでテストするときにポートを被らないようにするためデフォルトのものとは変える(以下同じ)
port: 61812
db:
host: 127.0.0.1
port: 5432
db: test-misskey
user: postgres
pass: ''
redis:
host: 127.0.0.1
port: 6379
id: aidx
...@@ -36,6 +36,7 @@ coverage ...@@ -36,6 +36,7 @@ coverage
# config # config
/.config/* /.config/*
!/.config/example.yml !/.config/example.yml
!/.config/test-example.yml
!/.config/docker_example.yml !/.config/docker_example.yml
!/.config/docker_example.env !/.config/docker_example.env
!/.config/cypress-devcontainer.yml !/.config/cypress-devcontainer.yml
......
...@@ -199,7 +199,7 @@ There are three types of test codes for the backend: ...@@ -199,7 +199,7 @@ There are three types of test codes for the backend:
#### Running Unit Tests or Single-server E2E Tests #### Running Unit Tests or Single-server E2E Tests
1. Create a config file: 1. Create a config file:
```sh ```sh
cp .github/misskey/test.yml .config/ cp .config/test-example.yml .config/test.yml
``` ```
2. Start DB and Redis servers for testing: 2. Start DB and Redis servers for testing:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment