Merge branch 'feature/implementation-of-ci-s4-09' into 'develop'

fixed the pipeline

See merge request proj-wise2526-video2document/video2document!38
This commit is contained in:
Spanier, Pit
2025-12-14 16:13:28 +01:00
3 changed files with 17 additions and 14 deletions
+15 -12
View File
@@ -1,24 +1,27 @@
image: node:latest
stages:
- install
# - install
- test
job-install:
stage: install
script:
- npm install
artifacts:
untracked: false
when: on_success
access: all
expire_in: "30 days"
paths:
- node_modules
# job-install:
# stage: install
# script:
# - npm install
# artifacts:
# untracked: false
# when: on_success
# access: all
# expire_in: "30 days"
# paths:
# - node_modules
job-test:
stage: test
script:
- npm install
- echo "ASSEMBLYAI_API_KEY=$apikey_assembly" > .env
- echo "GOOGLE_API_KEY=$apikey_gemini" >> .env
- npm test
+2 -2
View File
@@ -78,7 +78,7 @@ describe("Unit Tests", function() {
describe("Audio Transcription", function() {
this.slow(20000)
this.timeout(60000)
this.timeout(120000)
it('Assembly', function (done) {
mapFunctions.get("assembly").function(audiopath).then(resp => {
@@ -143,7 +143,7 @@ describe("Unit Tests", function() {
describe("Large Language Model", function() {
this.slow(30000)
this.timeout(60000)
this.timeout(120000)
// it("ChatGPT", function (done){
// mapFunctions.get("chatgpt").function({inputTranscriptPath: summarizePath, documentTypePath: "./storage/documentType/meetingReport.json", language: "en"}).then(resp => {
Binary file not shown.