We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$ xp coverage -p src/main/php -j coveralls.json,$API_TOKEN src/test/php # ... $ curl -x POST -F 'json_file=@coveralls.json' https://coveralls.io/api/v1/jobs
POST https://coveralls.io/api/v1/jobs
{ "run_at" : "2018-09-23 15:06:08 +0000", "git" : { "head" : { "author_name" : "Timm Friebe", "committer_email" : "thekid@example.com", "author_email" : "thekid@example.com", "id" : "d03c81753e382c494697e08f5a75826c3858a608", "message" : "Fix newline and comment handling inside structures", "committer_name" : "Timm Friebe" }, "remotes" : [ { "url" : "git@github.com:xp-forge/yaml.git", "name" : "origin" } ], "branch" : "master" }, "repo_token" : "...", "service_name" : "php-coveralls", "service_event_type" : "manual", "source_files" : [ { "coverage" : [ null, null, 0 ], "source" : "<?php namespace xp;\n\n\\lang\\ClassLoader::registerPath(__DIR__);", "name" : "src\\main\\php\\autoload.php" }, … ] }
See https://docs.coveralls.io/api-reference
The paths with the Windows directory separator \ break the detailed view in Coveralls and should probably be translated to / before uploading!
\
/
The text was updated successfully, but these errors were encountered:
The head commit details can be fetched by this:
$ git log -1 --pretty=format:'%H%n%aN%n%ae%n%cN%n%ce%n%s' d03c81753e382c494697e08f5a75826c3858a608 Timm Friebe thekid@example.com Timm Friebe thekid@example.com Fix newline and comment handling inside structures
Sorry, something went wrong.
Basically, after test has run:
[null, 1, 0, null, 4, 15, null]
"service_name" : "...", "service_event_type" : "..."
"repo_token" : "..."
...and then write all that to a JSON file.
No branches or pull requests
Usage
API
See https://docs.coveralls.io/api-reference
Outcome
The paths with the Windows directory separator
\
break the detailed view in Coveralls and should probably be translated to/
before uploading!The text was updated successfully, but these errors were encountered: