File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed
Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,9 @@ name: Lint and test
22
33on :
44 push :
5- branches :
6- - main
7- - master
8- - develop
5+ branches : [ main, master, develop ]
96 pull_request :
10- branches :
11- - main
12- - master
13- - develop
7+ branches : [ main, master, develop ]
148
159defaults :
1610 run :
@@ -28,14 +22,12 @@ jobs:
2822 services :
2923 redis :
3024 image : ' redis:8.0.1'
31- # Set health checks to wait until redis has started
3225 options : >-
3326 --health-cmd "redis-cli ping"
3427 --health-interval 10s
3528 --health-timeout 5s
3629 --health-retries 5
3730 ports :
38- # Maps port 6379 on service container to the host
3931 - 6379:6379
4032
4133 steps :
7264 "admin:email": "test@example.org",
7365 "admin:password": "hAN3Eg8W",
7466 "admin:password:confirm": "hAN3Eg8W",
75-
7667 "database": "redis",
7768 "redis:host": "127.0.0.1",
7869 "redis:port": 6379,
9788 - name : Build NodeBB
9889 run : ./nodebb build
9990
100- - name : Run ESLint
101- run : npm run lint
102-
103- - name : Node tests
91+ - name : Run Jest tests (primary integration requirement)
10492 run : npm test
10593
10694 - name : Extract coverage info
You can’t perform that action at this time.
0 commit comments