Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[azure-pipelines] tests & code coverage #143

Closed
2 tasks done
Raffaello opened this issue May 20, 2020 · 5 comments
Closed
2 tasks done

[azure-pipelines] tests & code coverage #143

Raffaello opened this issue May 20, 2020 · 5 comments
Assignees
Labels
configuration cmake or project related code, configuaration
Milestone

Comments

@Raffaello
Copy link
Owner

Raffaello commented May 20, 2020

  • publish test in the analysis pipeline
  • add code coverage (if possible)

ref:


@Raffaello Raffaello added the configuration cmake or project related code, configuaration label May 20, 2020
@Raffaello Raffaello added this to the Better CI milestone May 20, 2020
@Raffaello Raffaello self-assigned this May 20, 2020
@Raffaello
Copy link
Owner Author

Raffaello commented May 20, 2020

this snippet convert from ctest report to cobertura and then can be read from azure-pipelines:
https://github.com/cartographer-project/cartographer/blob/master/scripts/ctest_to_junit.py

GitHub
Cartographer is a system that provides real-time simultaneous localization and mapping (SLAM) in 2D and 3D across multiple platforms and sensor configurations. - cartographer-project/cartographer

@Raffaello

This comment has been minimized.

@Raffaello
Copy link
Owner Author

gcovr would work too and also for sonarcloud, but need gcov and not working with llvm....

@Raffaello
Copy link
Owner Author

Raffaello commented May 20, 2020

this one could also work:
https://github.com/eriwen/lcov-to-cobertura-xml

GitHub
Converts lcov output to Cobertura-compatible XML for CI - eriwen/lcov-to-cobertura-xml

@Raffaello
Copy link
Owner Author

done test coverage in azure pipelines and cobertura report (still missing sonarcloud)
https://dev.azure.com/raffaellobertini/sdl2-vga-terminal/_build/results?buildId=1037&view=codecoverage-tab

Raffaello added a commit that referenced this issue May 22, 2020
* preparing for v0.3.0

* rebase

* add clearLine method. fix #42

* update readme. fix #121

* for loop refactor in a C++ way

* refactor _setCharAtCursorPosition name

* refactor clearLine

* add fill method. Fix #113

* decouple VgaTerminal drawing functionality to Window. Fix #122

* cursor blinking flag. Fix #39

* cursor speed from enum class, partially fix #38

* [cmake] macro to generate example. Fix #126

* update version string to 0.3.0 fixes #129

* build switch for precise timer,fixes #131 cursor blinking test macOS

* replace -fPIC with CMAKE_POSITION_INDEPENDENT_CODE flag. fix #132

* [appveyor | macOS] disable precise timer fix #131

* [TuiTerminal] phase 1 ver 0.1-showcase and example. Fixes #133

* [cmake] using GoogleTest module and macro for test. Fixes#128

* TODOs review

* define specific runtime_error exception. Fixes # 139

* fixes #91

* [wont fix] snapshot testing on CI. Fixes #141

* publish test report and code coverage on analysis pipeline. Fixes #143

* publish test reports even if test task failed. Fixes #130

* add .gittribute

* [lint] line ending LF

* [lint] replace TABS with SPACES

* [lint] end line LF. [azure-pipelines] cpplint analisys

* [azure-pipelines] add cpplint job. Fixes #140

* compilers warning fixes #146

* Apply suggestions from code review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration cmake or project related code, configuaration
Projects
None yet
Development

No branches or pull requests

1 participant