Create another test suite for transcoding jobs
This commit is contained in:
parent
cba7977552
commit
95faf1eaff
|
@ -39,7 +39,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
test_suite: [ types-package, client, api-1, api-2, api-3, api-4, cli-plugin, lint, external-plugins ]
|
test_suite: [ types-package, client, api-1, api-2, api-3, api-4, api-5, cli-plugin, lint, external-plugins ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PGUSER: peertube
|
PGUSER: peertube
|
||||||
|
|
|
@ -94,6 +94,12 @@ elif [ "$1" = "api-4" ]; then
|
||||||
activitypubFiles=$(findTestFiles ./dist/server/tests/api/activitypub)
|
activitypubFiles=$(findTestFiles ./dist/server/tests/api/activitypub)
|
||||||
|
|
||||||
MOCHA_PARALLEL=true runTest "$1" 2 $moderationFiles $redundancyFiles $activitypubFiles $objectStorageFiles
|
MOCHA_PARALLEL=true runTest "$1" 2 $moderationFiles $redundancyFiles $activitypubFiles $objectStorageFiles
|
||||||
|
elif [ "$1" = "api-5" ]; then
|
||||||
|
npm run build:server
|
||||||
|
|
||||||
|
transcodingFiles=$(findTestFiles ./dist/server/tests/api/transcoding)
|
||||||
|
|
||||||
|
MOCHA_PARALLEL=true runTest "$1" 2 $transcodingFiles
|
||||||
elif [ "$1" = "external-plugins" ]; then
|
elif [ "$1" = "external-plugins" ]; then
|
||||||
npm run build:server
|
npm run build:server
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ npm run ci -- api-1
|
||||||
npm run ci -- api-2
|
npm run ci -- api-2
|
||||||
npm run ci -- api-3
|
npm run ci -- api-3
|
||||||
npm run ci -- api-4
|
npm run ci -- api-4
|
||||||
|
npm run ci -- api-5
|
||||||
npm run ci -- external-plugins
|
npm run ci -- external-plugins
|
||||||
|
|
||||||
npm run ci -- lint
|
npm run ci -- lint
|
||||||
|
|
|
@ -7,5 +7,6 @@ import './notifications'
|
||||||
import './redundancy'
|
import './redundancy'
|
||||||
import './search'
|
import './search'
|
||||||
import './server'
|
import './server'
|
||||||
|
import './transcoding'
|
||||||
import './users'
|
import './users'
|
||||||
import './videos'
|
import './videos'
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
export * from './audio-only'
|
||||||
|
export * from './create-transcoding'
|
||||||
|
export * from './hls'
|
||||||
|
export * from './transcoder'
|
||||||
|
export * from './video-editor'
|
|
@ -1,4 +1,3 @@
|
||||||
import './audio-only'
|
|
||||||
import './multiple-servers'
|
import './multiple-servers'
|
||||||
import './resumable-upload'
|
import './resumable-upload'
|
||||||
import './single-server'
|
import './single-server'
|
||||||
|
@ -6,18 +5,14 @@ import './video-captions'
|
||||||
import './video-change-ownership'
|
import './video-change-ownership'
|
||||||
import './video-channels'
|
import './video-channels'
|
||||||
import './video-comments'
|
import './video-comments'
|
||||||
import './video-create-transcoding'
|
|
||||||
import './video-description'
|
import './video-description'
|
||||||
import './video-editor'
|
|
||||||
import './video-files'
|
import './video-files'
|
||||||
import './video-hls'
|
|
||||||
import './video-imports'
|
import './video-imports'
|
||||||
import './video-nsfw'
|
import './video-nsfw'
|
||||||
import './video-playlists'
|
import './video-playlists'
|
||||||
import './video-playlist-thumbnails'
|
import './video-playlist-thumbnails'
|
||||||
import './video-privacy'
|
import './video-privacy'
|
||||||
import './video-schedule-update'
|
import './video-schedule-update'
|
||||||
import './video-transcoder'
|
|
||||||
import './videos-common-filters'
|
import './videos-common-filters'
|
||||||
import './videos-history'
|
import './videos-history'
|
||||||
import './videos-overview'
|
import './videos-overview'
|
||||||
|
|
Loading…
Reference in New Issue