Fixed broken unit tests due to front-end cleanup

This commit is contained in:
Eliot Berriot 2018-08-11 17:58:51 +02:00
commit a8a609155b
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
23 changed files with 557 additions and 338 deletions

View file

@ -156,7 +156,6 @@ test_api:
tags:
- docker
test_front:
stage: test
image: node:9
@ -166,7 +165,7 @@ test_front:
- branches
script:
- yarn install
- yarn run unit
- yarn test:unit
cache:
key: "funkwhale__front_dependencies"
paths:
@ -179,7 +178,6 @@ test_front:
tags:
- docker
build_front:
stage: build
image: node:9
@ -192,7 +190,7 @@ build_front:
- yarn run i18n-compile
# this is to ensure we don't have any errors in the output,
# cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
- yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
- yarn build | tee /dev/stderr | (! grep -i 'ERROR in')
- chmod -R 750 dist
cache:
key: "funkwhale__front_dependencies"
@ -210,7 +208,6 @@ build_front:
tags:
- docker
pages:
stage: test
image: python:3.6