Fixed broken unit tests due to front-end cleanup
This commit is contained in:
parent
e3040de444
commit
a8a609155b
23 changed files with 557 additions and 338 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue