Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
38382b40
Unverified
Commit
38382b40
authored
Mar 8, 2023
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Added coverage report
parent
c8d80b26
No related branches found
No related tags found
1 merge request
!144
Revert
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
Makefile
+1
-0
1 addition, 0 deletions
Makefile
fda-ui/.gitignore
+1
-0
1 addition, 0 deletions
fda-ui/.gitignore
fda-ui/.nycrc
+1
-1
1 addition, 1 deletion
fda-ui/.nycrc
fda-ui/package.json
+1
-1
1 addition, 1 deletion
fda-ui/package.json
with
5 additions
and
3 deletions
.gitlab-ci.yml
+
1
−
1
View file @
38382b40
...
@@ -298,7 +298,7 @@ test-frontend:
...
@@ -298,7 +298,7 @@ test-frontend:
-
build-frontend
-
build-frontend
script
:
script
:
-
"
make
test-frontend"
-
"
make
test-frontend"
-
"
cat
./fda-
analyse-service
/coverage.txt
|
grep
-o
'
TOTAL
[^%]*%'"
-
"
cat
./fda-
ui
/coverage.txt
|
grep
-o
'
Lines
[^%]*%'"
artifacts
:
artifacts
:
when
:
always
when
:
always
paths
:
paths
:
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
1
−
0
View file @
38382b40
...
@@ -190,6 +190,7 @@ coverage-frontend: build-frontend
...
@@ -190,6 +190,7 @@ coverage-frontend: build-frontend
test-frontend
:
clean build-frontend
test-frontend
:
clean build-frontend
yarn
--cwd
./fda-ui
install
yarn
--cwd
./fda-ui
install
yarn
--cwd
./fda-ui run
test
:unit
||
true
yarn
--cwd
./fda-ui run
test
:unit
||
true
yarn
--cwd
./fda-ui run coverage
||
true
clean
:
clean
:
docker system prune
-f
--volumes
docker system prune
-f
--volumes
...
...
This diff is collapsed.
Click to expand it.
fda-ui/.gitignore
+
1
−
0
View file @
38382b40
...
@@ -21,6 +21,7 @@ lib-cov
...
@@ -21,6 +21,7 @@ lib-cov
# Coverage directory used by tools like istanbul
# Coverage directory used by tools like istanbul
coverage/
coverage/
coverage.txt
# nyc test coverage
# nyc test coverage
.nyc_output
.nyc_output
...
...
This diff is collapsed.
Click to expand it.
fda-ui/.nycrc
+
1
−
1
View file @
38382b40
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
"branches": 35,
"branches": 35,
"check-coverage": true,
"check-coverage": true,
"include": [ "components/**/*.vue", "layouts/**/*.vue", "pages/**/*.vue", "server-middleware/**/*.js", "store/**/*.js"],
"include": [ "components/**/*.vue", "layouts/**/*.vue", "pages/**/*.vue", "server-middleware/**/*.js", "store/**/*.js"],
"exclude": ["node_modules"],
"exclude": ["node_modules"
, "server-middleware", "store"
],
"extension": [".js", ".vue"],
"extension": [".js", ".vue"],
"reporter": [
"reporter": [
"lcov",
"lcov",
...
...
This diff is collapsed.
Click to expand it.
fda-ui/package.json
+
1
−
1
View file @
38382b40
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
"ver"
:
"nuxt --version"
,
"ver"
:
"nuxt --version"
,
"lint:js"
:
"eslint --ext .js,.vue --ignore-path .gitignore ."
,
"lint:js"
:
"eslint --ext .js,.vue --ignore-path .gitignore ."
,
"lint"
:
"yarn lint:js"
,
"lint"
:
"yarn lint:js"
,
"coverage"
:
"nyc ava test/unit/**/* test/specs/**/*"
,
"coverage"
:
"nyc ava test/unit/**/* test/specs/**/*
> ./coverage.txt
"
,
"test:unit"
:
"ava test/unit/**/* test/specs/**/*"
,
"test:unit"
:
"ava test/unit/**/* test/specs/**/*"
,
"test:watch"
:
"ava --watch test/unit/**/* test/specs/**/*"
,
"test:watch"
:
"ava --watch test/unit/**/* test/specs/**/*"
,
"test:e2e"
:
"yarn clean && cross-env PORT=3001 ava --timeout=2h --fail-fast test/e2e/**"
,
"test:e2e"
:
"yarn clean && cross-env PORT=3001 ava --timeout=2h --fail-fast test/e2e/**"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment