Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Charlotte
Sharkey
Commits
b47b2587
Commit
b47b2587
authored
4 months ago
by
dakkar
Browse files
Options
Downloads
Patches
Plain Diff
example test config
parent
b4e8e781
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.config/test-example.yml
+17
-0
17 additions, 0 deletions
.config/test-example.yml
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
CONTRIBUTING.md
+1
-1
1 addition, 1 deletion
CONTRIBUTING.md
with
19 additions
and
1 deletion
.config/test-example.yml
0 → 100644
+
17
−
0
View file @
b47b2587
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
This diff is collapsed.
Click to expand it.
.gitignore
+
1
−
0
View file @
b47b2587
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
CONTRIBUTING.md
+
1
−
1
View file @
b47b2587
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment