mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 19:22:51 +00:00
test: make routes job fail if number of files is lower than 100
This commit is contained in:
@@ -50,6 +50,8 @@ routes:
|
|||||||
script:
|
script:
|
||||||
- npm install @openstapps/core
|
- npm install @openstapps/core
|
||||||
- node lib/cli.js routes node_modules/@openstapps/core/lib routes.md
|
- node lib/cli.js routes node_modules/@openstapps/core/lib routes.md
|
||||||
|
- NUMBER_OF_LINES=$(cat routes.md | wc -l)
|
||||||
|
- if [ "$NUMBER_OF_LINES" -lt 100 ]; then exit 1; fi
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- routes.md
|
- routes.md
|
||||||
|
|||||||
Reference in New Issue
Block a user