Skip to content

Commit

Permalink
Set AKISMET_KEY as env
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Sep 28, 2022
1 parent ca68986 commit 3630530
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/videos/multiple-servers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/videos/video-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' })
Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/videos/video-playlists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/videos/video-privacy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 3630530

Please sign in to comment.