Set AKISMET_KEY as env
This commit is contained in:
parent
ca68986083
commit
36305301cb
|
@ -75,6 +75,8 @@ jobs:
|
||||||
- name: Run Test
|
- name: Run Test
|
||||||
# external-plugins tests only run on schedule
|
# external-plugins tests only run on schedule
|
||||||
if: github.event_name == 'schedule' || matrix.test_suite != 'external-plugins'
|
if: github.event_name == 'schedule' || matrix.test_suite != 'external-plugins'
|
||||||
|
env:
|
||||||
|
AKISMET_KEY: ${{ secrets.AKISMET_KEY }}
|
||||||
run: npm run ci -- ${{ matrix.test_suite }}
|
run: npm run ci -- ${{ matrix.test_suite }}
|
||||||
|
|
||||||
- name: Display errors
|
- name: Display errors
|
||||||
|
|
|
@ -156,7 +156,7 @@ describe('Test multiple servers', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should upload the video on server 2 and propagate on each server', async function () {
|
it('Should upload the video on server 2 and propagate on each server', async function () {
|
||||||
this.timeout(100000)
|
this.timeout(240000)
|
||||||
|
|
||||||
const user = {
|
const user = {
|
||||||
username: 'user1',
|
username: 'user1',
|
||||||
|
|
|
@ -33,7 +33,7 @@ describe('Test videos files', function () {
|
||||||
let validId2: string
|
let validId2: string
|
||||||
|
|
||||||
before(async function () {
|
before(async function () {
|
||||||
this.timeout(120_000)
|
this.timeout(360_000)
|
||||||
|
|
||||||
{
|
{
|
||||||
const { uuid } = await servers[0].videos.quickUpload({ name: 'video 1' })
|
const { uuid } = await servers[0].videos.quickUpload({ name: 'video 1' })
|
||||||
|
|
|
@ -70,7 +70,7 @@ describe('Test video playlists', function () {
|
||||||
let commands: PlaylistsCommand[]
|
let commands: PlaylistsCommand[]
|
||||||
|
|
||||||
before(async function () {
|
before(async function () {
|
||||||
this.timeout(120000)
|
this.timeout(240000)
|
||||||
|
|
||||||
servers = await createMultipleServers(3)
|
servers = await createMultipleServers(3)
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ describe('Test video privacy', function () {
|
||||||
describe('Private and internal videos', function () {
|
describe('Private and internal videos', function () {
|
||||||
|
|
||||||
it('Should upload a private and internal videos on server 1', async 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 ]) {
|
for (const privacy of [ VideoPrivacy.PRIVATE, VideoPrivacy.INTERNAL ]) {
|
||||||
const attributes = { privacy }
|
const attributes = { privacy }
|
||||||
|
|
Loading…
Reference in New Issue