mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
ci: Integrate coverage with GitLab CI
This commit is contained in:
parent
a4b31f2cb0
commit
a0ba59af77
2 changed files with 4 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,4 +6,5 @@ gtk-blueprint-tool.pc
|
||||||
|
|
||||||
/.coverage
|
/.coverage
|
||||||
/htmlcov
|
/htmlcov
|
||||||
|
coverage.xml
|
||||||
.mypy_cache
|
.mypy_cache
|
||||||
|
|
|
@ -10,6 +10,7 @@ build:
|
||||||
- mypy gtkblueprinttool
|
- mypy gtkblueprinttool
|
||||||
- coverage run -m unittest
|
- coverage run -m unittest
|
||||||
- coverage html
|
- coverage html
|
||||||
|
- coverage xml
|
||||||
- meson _build -Ddocs=true
|
- meson _build -Ddocs=true
|
||||||
- ninja -C _build
|
- ninja -C _build
|
||||||
- ninja -C _build test
|
- ninja -C _build test
|
||||||
|
@ -18,6 +19,8 @@ build:
|
||||||
paths:
|
paths:
|
||||||
- _build
|
- _build
|
||||||
- htmlcov
|
- htmlcov
|
||||||
|
reports:
|
||||||
|
cobertura: coverage.xml
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: pages
|
stage: pages
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue