Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Machina Callida
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
callidus
Machina Callida
Commits
940e425a
Commit
940e425a
authored
Jun 02, 2020
by
Konstantin Schulz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
additional logging for continuous integration in case of failed pipeline
parent
2b910b9d
Pipeline
#11836
passed with stages
in 2 minutes and 39 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
.gitlab-ci.yml
.gitlab-ci.yml
+3
-0
mc_frontend/src/app/corpus.service.spec.ts
mc_frontend/src/app/corpus.service.spec.ts
+8
-2
mc_frontend/src/app/models/mockMC.ts
mc_frontend/src/app/models/mockMC.ts
+1
-1
No files found.
.gitlab-ci.yml
View file @
940e425a
...
...
@@ -13,6 +13,7 @@ ci_frontend:
artifacts
:
paths
:
-
ci_frontend.log
when
:
always
ci_backend
:
stage
:
ci
script
:
...
...
@@ -20,6 +21,7 @@ ci_backend:
artifacts
:
paths
:
-
ci_backend.log
when
:
always
coverage
:
stage
:
coverage
script
:
...
...
@@ -28,4 +30,5 @@ coverage:
artifacts
:
paths
:
-
coverage.log
when
:
always
coverage
:
'
/Statements.*?(\d+(?:\.\d+)?)%/'
mc_frontend/src/app/corpus.service.spec.ts
View file @
940e425a
...
...
@@ -23,6 +23,7 @@ import {TextRange} from './models/textRange';
import
Spy
=
jasmine
.
Spy
;
import
{
AnnisResponse
,
NodeMC
}
from
'
../../openapi
'
;
import
{
Phenomenon
}
from
'
../../openapi
'
;
import
{
Subscription
}
from
'
rxjs
'
;
describe
(
'
CorpusService
'
,
()
=>
{
let
httpClient
:
HttpClient
;
...
...
@@ -251,12 +252,17 @@ describe('CorpusService', () => {
it
(
'
should initialize the current corpus
'
,
fakeAsync
(()
=>
{
helperService
.
applicationState
.
next
(
new
ApplicationState
());
let
corpus
:
CorpusMC
=
{
source_urn
:
''
};
const
subscriptions
:
Subscription
[]
=
[];
function
initCorpus
():
void
{
subscriptions
.
forEach
((
sub
:
Subscription
,
idx
:
number
,
subList
:
Subscription
[])
=>
{
sub
.
unsubscribe
();
delete
subList
[
idx
];
});
corpusService
.
initCurrentCorpus
().
then
(()
=>
{
corpusService
.
currentCorpus
.
subscribe
((
cc
:
CorpusMC
)
=>
{
subscriptions
.
push
(
corpusService
.
currentCorpus
.
subscribe
((
cc
:
CorpusMC
)
=>
{
corpus
=
cc
;
});
})
)
;
});
flushMicrotasks
();
}
...
...
mc_frontend/src/app/models/mockMC.ts
View file @
940e425a
...
...
@@ -29,7 +29,7 @@ export default class MockMC {
};
static
applicationState
:
ApplicationState
=
new
ApplicationState
({
currentSetup
:
new
TextData
({
currentCorpus
:
{
citations
:
{},
source_urn
:
''
},
currentCorpus
:
{
citations
:
{},
source_urn
:
'
exampleUrn
'
},
currentTextRange
:
new
TextRange
({
start
:
[
'
1
'
,
'
2
'
],
end
:
[
'
1
'
,
'
2
'
]})
}),
mostRecentSetup
:
new
TextData
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment