File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 24
24
run : docker run -d -p 7700:7700 getmeili/meilisearch:latest ./meilisearch --master-key=masterKey --no-analytics=true
25
25
26
26
- name : Run test suite
27
- run : vendor/bin/phpunit --color tests/
27
+ run : sh scripts/tests.sh
28
28
29
29
- name : Run linter
30
30
run : vendor/bin/php-cs-fixer fix -v --config=.php_cs.dist --using-cache=no --dry-run
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ Each PR should pass the tests and the linter to be accepted.
270
270
``` bash
271
271
# Tests
272
272
$ docker run -d -p 7700:7700 getmeili/meilisearch:latest ./meilisearch --master-key=masterKey --no-analytics=true
273
- $ vendor/bin/phpunit --color tests/
273
+ $ sh scripts/tests.sh
274
274
# Linter (with auto-fix)
275
275
$ vendor/bin/php-cs-fixer fix --verbose --config=.php_cs.dist
276
276
# Linter (without auto-fix)
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ echo ' Setting FDs limit to 1000'
4
+ ulimit -n 1000
5
+
6
+ echo " Launching tests..."
7
+ vendor/bin/phpunit --color tests/
You can’t perform that action at this time.
0 commit comments