Set AKISMET_KEY as env

pull/5318/head
Chocobozzz 2022-09-28 08:24:18 +02:00
parent ca68986083
commit 36305301cb
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
5 changed files with 6 additions and 4 deletions

View File

@ -75,6 +75,8 @@ jobs:
- name: Run Test
# external-plugins tests only run on schedule
if: github.event_name == 'schedule' || matrix.test_suite != 'external-plugins'
env:
AKISMET_KEY: ${{ secrets.AKISMET_KEY }}
run: npm run ci -- ${{ matrix.test_suite }}
- name: Display errors

View File

@ -156,7 +156,7 @@ describe('Test multiple servers', function () {
})
it('Should upload the video on server 2 and propagate on each server', async function () {
this.timeout(100000)
this.timeout(240000)
const user = {
username: 'user1',

View File

@ -33,7 +33,7 @@ describe('Test videos files', function () {
let validId2: string
before(async function () {
this.timeout(120_000)
this.timeout(360_000)
{
const { uuid } = await servers[0].videos.quickUpload({ name: 'video 1' })

View File

@ -70,7 +70,7 @@ describe('Test video playlists', function () {
let commands: PlaylistsCommand[]
before(async function () {
this.timeout(120000)
this.timeout(240000)
servers = await createMultipleServers(3)

View File

@ -45,7 +45,7 @@ describe('Test video privacy', function () {
describe('Private and internal videos', function () {
it('Should upload a private and internal videos on server 1', async function () {
this.timeout(10000)
this.timeout(50000)
for (const privacy of [ VideoPrivacy.PRIVATE, VideoPrivacy.INTERNAL ]) {
const attributes = { privacy }