Comments (10)
I identified this issue in the git library which I am
using for dart-coveralls. I'll try to reproduce the bug and to fix it as soon as I can.
from dart-coveralls.
Awesome, thanks for taking a look. If you do find an issue in the git library please let Kevin know - it would be fantastic to get code coverage working for our dart projects.
from dart-coveralls.
Could you give it a try again? I tried to fix the issue in this commit.
from dart-coveralls.
Sure, I'll give it another shot.
from dart-coveralls.
Hmm, still an unhappy build:
https://travis-ci.org/dart-lang/usage/builds/44379782
Unhandled exception:
Uncaught Error: ProcessException:
Command: git show-ref HEAD --heads
Stack Trace:
#0 GitBranch.getCurrent (package:dart_coveralls/git_data.dart:155)
#1 GitData.getGitData (package:dart_coveralls/git_data.dart:177)
#2 CoverallsReport.getReportFromLcovString (package:dart_coveralls/dart_coveralls.dart:309)
#3 ReportPart.execute.<anonymous closure> (http://localhost:57633/src/calculate_and_send_coverage.dart:48)
from dart-coveralls.
(and it is using the latest version of the package - Activated dart_coveralls 0.0.17.
)
from dart-coveralls.
I've now cloned the repository and am able to completely reproduce the bug. It seems happen because of the detatched head state through travis. I'll dig into this now and finally fix it.
from dart-coveralls.
I've fixed the detatched HEAD issue (now, if detatched HEAD state => try to get to the last branch). The issue should be resolved (again, hopefully this time), if I run the dart_coveralls report lokally in a dry-run it suceeds
from dart-coveralls.
OK, I'll give it another go.
from dart-coveralls.
Thanks, I have it working. I'm see some other issues; I'll close this out and file new items.
from dart-coveralls.
Related Issues (20)
- Ability to merge reports from multiple projects HOT 2
- Consider adding a script to generate test_all.dart files HOT 3
- FormatException when uploading two calculated files HOT 1
- dart-coveralls requires packages/ directory rather than supporting .packages HOT 6
- Ability to use dart-coveralls with a provided .json file HOT 4
- Starting Dart 1.16.0, dart_coverage is failing HOT 4
- `dart bin/dart-coveralls.dart test/test-all.dart` gives incorrect data HOT 5
- Update pubspec.yaml constraints before 0.5.0 release? HOT 2
- Coverage failed to send but travis succeeded? HOT 6
- Move to using source_digest instead of source?
- Taking into account all dart files not run by unit tests HOT 6
- Getting ready for Dart2 (package updates:`file` and `mockito`). HOT 7
- How to set platform for dart_coveralls calc
- Error: This expression has type 'void' and can't be used. HOT 3
- builds w/ coveralls failing due to stale `coverage` dependency HOT 1
- coveralls 0.6.0+2 hanging on run HOT 2
- 'pub global activate dart_coveralls' does not work with Dart 2.0 HOT 1
- Exclude files in lib folder
- Any command freezes
- coverage is timing out
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 dart-coveralls.