Skip to content

Commit

Permalink
Merge pull request #826 from Sanofi-IADC/feature/WEB-2070
Browse files Browse the repository at this point in the history
feat(WEB-2070): WEB-2070 added id field in IWhisp interface
  • Loading branch information
sairam459 committed Feb 23, 2024
2 parents 5d22282 + 7a0b1a2 commit 8457bfa
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
quality:
name: Quality
if: "!contains(github.event.head_commit.message, 'chore(release):')"
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
AWS_ACCESS_KEY_ID: dummy
AWS_SECRET_ACCESS_KEY: dummy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -51,7 +51,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -65,4 +65,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion .github/workflows/docker-hub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- README.md
jobs:
UpdateDockerHubDescription:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/k6-load-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
quality:
name: K6 load tests
if: "!contains(github.event.head_commit.message, 'chore(release):')"
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
MONGOOSE_HOST: localhost
REDIS_HOST: localhost
Expand Down
1 change: 1 addition & 0 deletions src/interfaces/whisp.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Document } from 'mongoose';
import { TagInputType } from '../tag/tag.input';

export interface IWhisp extends Document {
_id: string;
readableID: string;
type: string;
severity: number;
Expand Down
8 changes: 5 additions & 3 deletions tests/e2e/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ beforeAll(async () => {
}, 60 * 60 * 1000); // disable timeout so it doesn't start tests if NestJS doesn't start

afterAll(async () => {
if (global.app) {
await Promise.all([global.app.close()]);
}
setTimeout(async () => {
if (global.app) {
await Promise.all([global.app.close()]);
}
}, 2000);
});

0 comments on commit 8457bfa

Please sign in to comment.