[wip] tests
This commit is contained in:
parent
40670b6bfc
commit
ed8319f727
|
@ -17,7 +17,7 @@ pipeline:
|
||||||
- mysql -hdb -uroot -proot -e "CREATE DATABASE app"
|
- mysql -hdb -uroot -proot -e "CREATE DATABASE app"
|
||||||
- eval "$MYSQLDUMP" | mysql -hdb -uroot -proot app
|
- eval "$MYSQLDUMP" | mysql -hdb -uroot -proot app
|
||||||
when:
|
when:
|
||||||
branch: [master, master-*, develop, develop-*]
|
branch: [master, master-*, develop, develop-*, feature/*]
|
||||||
|
|
||||||
app-config:
|
app-config:
|
||||||
image: deblan/php:8.1
|
image: deblan/php:8.1
|
||||||
|
@ -64,12 +64,16 @@ pipeline:
|
||||||
- yarn
|
- yarn
|
||||||
- test -f public/js/fos_js_routes.json || echo "{}" > public/js/fos_js_routes.json
|
- test -f public/js/fos_js_routes.json || echo "{}" > public/js/fos_js_routes.json
|
||||||
- npm run build
|
- npm run build
|
||||||
|
when:
|
||||||
|
branch: [master, master-*, develop, develop-*, feature/*]
|
||||||
|
|
||||||
security-check:
|
security-check:
|
||||||
image: gitnet.fr/deblan/osv-detector:v0.9
|
image: gitnet.fr/deblan/osv-detector:v0.9
|
||||||
commands:
|
commands:
|
||||||
- osv-detector composer.lock yarn.lock
|
- osv-detector composer.lock yarn.lock
|
||||||
failure: ignore
|
failure: ignore
|
||||||
|
when:
|
||||||
|
branch: [master, master-*, develop, develop-*, feature/*]
|
||||||
|
|
||||||
build_cache:
|
build_cache:
|
||||||
image: deblan/php:8.1
|
image: deblan/php:8.1
|
||||||
|
|
Loading…
Reference in a new issue