Comments (10)
CC me
from civet.
https://github.com/codecov/example-c#travis-ci
All other CI you can simply run bash <(curl -s https://codecov.io/bash)
cc @pbauman
Edit: Note: I don't condone bash
ing arbitrary curl
output.
from civet.
from civet.
Having a diff of code coverage is a cool feature. I think using codecov.io would already be possible with the current Civet. It would just require recipe changes to run the coverage command and then run their bash script which presumably prints out the diff, which then can be posted as a comment to the PR. We would probably have to run the same stuff on the repo default branch so they have a reference point for the diff.
If you wanted a replacement for codecov.io, that would take a bit more work :)
By the way, if you do want code coverage for libmesh we can easily add it to run on merges to the master branch and store it on mooseframework.org (we already store libmesh doxygen there, although it is only the libmesh version that comes with MOOSE master)
from civet.
Along these lines, have folks figured out how to hook into the "Build Passing" badge to display on the GitHub page? My (very skim) searching only finds Travis-specific stuff.
from civet.
We have something on the civet github page.
The relevant bit of markdown is
[![Build status](https://www.moosebuild.org/44/branch_status.svg)](https://www.moosebuild.org/repo/19/)
The URL endpoints aren't the best as the 44 and 19 are internal database ids. If there is interest in this sort of thing I can easily add a /<repo>/<branch>/branch_status.svg
endpoint as well. This hasn't been used much so if there are any improvements to it that you would like to see, just let me know.
from civet.
Cool. To be clear, the URL above would be the same for my local server except for the beginning part (BASE_URL
), i.e. https://www.moosebuild.org
?
If there is interest in this sort of thing I can easily add a ///branch_status.svg endpoint as well.
There is, but it's squarely in the "would be nice to have" category, particularly if the existing paths work for any CIVET server (modulo of course the BASE_URL).
from civet.
The ids would change depending on the branch and repo, which is why these endpoints aren't very user friendly.
You would have to replace the 44 to your branch id and the 19 to your repository id.
You can find these by navigating to the respective pages and seeing the id in the URL.
A lot of URL endpoints would certainly be improved by using a more human approach, ie instead of /repo/19/
it would be /repo/idaholab/civet
.
from civet.
I added the friendly branch status endpoint.
The new markdown is
[![Build status](https://www.moosebuild.org/idaholab/civet/devel/branch_status.svg)](https://www.moosebuild.org/repo/idaholab/civet/)
from civet.
Code coverage is best left up to individual civet recipes, not in civet itself. So I am going to close this.
from civet.
Related Issues (20)
- Move CIVET off the INL network HOT 5
- Show most current N events rather than N table rows HOT 2
- Handle bad clients HOT 4
- Provide a quick way of updating submodules HOT 2
- Dynamic priorities
- Remove spaces from filenames/directories of CIVET downloads HOT 3
- Add ability to store coverage and benchmark results in database HOT 1
- Graceful error on > 3000 file github PR
- Better algorithm for collecting information from large output HOT 1
- Different build_user for same 'repository' attribute causes all recipes to be inactive
- moose modules unit testing not occurring HOT 6
- Sort clients by inacive in client listing
- More Graphs
- Enhanced scheduling capabilities HOT 4
- Management of the DB HOT 3
- Support the concatenation of multiple PR post messages
- Add a third (or any higher) level of submodule cloning HOT 1
- Cache job get
- Catch invalid json in `GitAPI._response_json`
- Add `--cleanup-command`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from civet.