mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
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:
+15
-12
@@ -1,24 +1,27 @@
|
|||||||
image: node:latest
|
image: node:latest
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- install
|
# - install
|
||||||
- test
|
- test
|
||||||
|
|
||||||
job-install:
|
# job-install:
|
||||||
stage: install
|
# stage: install
|
||||||
script:
|
# script:
|
||||||
- npm install
|
# - npm install
|
||||||
artifacts:
|
# artifacts:
|
||||||
untracked: false
|
# untracked: false
|
||||||
when: on_success
|
# when: on_success
|
||||||
access: all
|
# access: all
|
||||||
expire_in: "30 days"
|
# expire_in: "30 days"
|
||||||
paths:
|
# paths:
|
||||||
- node_modules
|
# - node_modules
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
job-test:
|
job-test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- npm install
|
||||||
- echo "ASSEMBLYAI_API_KEY=$apikey_assembly" > .env
|
- echo "ASSEMBLYAI_API_KEY=$apikey_assembly" > .env
|
||||||
- echo "GOOGLE_API_KEY=$apikey_gemini" >> .env
|
- echo "GOOGLE_API_KEY=$apikey_gemini" >> .env
|
||||||
- npm test
|
- npm test
|
||||||
+2
-2
@@ -78,7 +78,7 @@ describe("Unit Tests", function() {
|
|||||||
|
|
||||||
describe("Audio Transcription", function() {
|
describe("Audio Transcription", function() {
|
||||||
this.slow(20000)
|
this.slow(20000)
|
||||||
this.timeout(60000)
|
this.timeout(120000)
|
||||||
|
|
||||||
it('Assembly', function (done) {
|
it('Assembly', function (done) {
|
||||||
mapFunctions.get("assembly").function(audiopath).then(resp => {
|
mapFunctions.get("assembly").function(audiopath).then(resp => {
|
||||||
@@ -143,7 +143,7 @@ describe("Unit Tests", function() {
|
|||||||
|
|
||||||
describe("Large Language Model", function() {
|
describe("Large Language Model", function() {
|
||||||
this.slow(30000)
|
this.slow(30000)
|
||||||
this.timeout(60000)
|
this.timeout(120000)
|
||||||
|
|
||||||
// it("ChatGPT", function (done){
|
// it("ChatGPT", function (done){
|
||||||
// mapFunctions.get("chatgpt").function({inputTranscriptPath: summarizePath, documentTypePath: "./storage/documentType/meetingReport.json", language: "en"}).then(resp => {
|
// mapFunctions.get("chatgpt").function({inputTranscriptPath: summarizePath, documentTypePath: "./storage/documentType/meetingReport.json", language: "en"}).then(resp => {
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user