Coder Social home page Coder Social logo

coveralls-perl's People

Contributors

bayashi avatar chylli-deriv avatar dsteinbrunner avatar haarg avatar jacquesg avatar jraspass avatar kan avatar mohawk2 avatar sirtoobii avatar songmu avatar voegelas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

coveralls-perl's Issues

Test failed on travis.

See https://travis-ci.org/tokuhirom/Minilla/jobs/6950859

t/01_basic.t .... 1/?     
    #   Failed test 'config'
    #   at t/01_basic.t line 30.
    #     Structures begin differing at:
    #          $got->{service_name} = 'travis-ci'
    #     $expected->{service_name} = 'coveralls-perl'
    # Looks like you failed 1 test of 1.
#   Failed test 'get_config local'
#   at t/01_basic.t line 31.
# Looks like you failed 1 test of 3.
t/01_basic.t .... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 

uncoverable statements

Devel::Cover supports comments to mark particular statements as uncoverable:

if ($x == 0) {
   return 0;
}
elsif ($x > 0) {
   return 1;
}
elsif ($x < 0) {
   return -1;
}
else {
   die("huh?); # uncoverable statement
}

Devel::Cover::Statement exposes this information via a method called uncoverable.

Would it be possible for Devel::Cover::Report::Coveralls to pass this information to coveralls.io? (According to the API reference, setting he coverage information for that line to null ought to do it.)

Use of newer webhook API by GitHub Actions

This module uses the v1 API that needs the repo token configured by some means, as shown in #33. However, looking at https://github.com/coverallsapp/github-action/blob/master/src/run.ts#L51 it appears that there is another way for GH actions: to use Coveralls's webhook endpoint, which uses as its repo_token the GITHUB_TOKEN that, crucially, is already available. Are you open to a PR adding this capability, probably dispatched on a GITHUB_TOKEN env var?

This would mean eserte/graphviz-makefile#4 and graphviz-perl/Graph#16 wouldn't be needed (at least to get Coveralls working).

test will fail on CircleCI

When run test on CircelCI.com, it will fail:

    #   Failed test 'config service_name'
    #   at t/01_basic.t line 45.
    #          got: 'circleci'
    #     expected: 'github-actions'

    #   Failed test 'config service_number'
    #   at t/01_basic.t line 46.
    #          got: '12387'
    #     expected: '123456789'
    # Looks like you failed 2 tests of 3.

#   Failed test 'get_config github'
#   at t/01_basic.t line 48.
    # No tests run!

#   Failed test 'No tests run for subtest "get_config github actions improved"'
#   at t/01_basic.t line 58.
required repo_token in .coveralls.yml, or launch via Travis at /home/git/.cpanm/work/1640820299.64935/Devel-Cover-Report-Coveralls-0.20/blib/lib/Devel/Cover/Report/Coveralls.pm line 131.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 4.

Incorrect metadata

The mertadata for repository and issue tracker are wrong. They should be https not ssh. This is breaking the links on the CPAN::Meta page

fixed image url in POD

外部サービスじゃなくgithubに置いてgithub.ioなURLで参照する。
0.04リリース時にやろう

Report branch coverage results to coveralls

According to this comment coveralls added support for branch coverage metrics on top of line coverage.

Since Devel::Cover also measures branch coverage, it would be nice to allow this module to share that information with coveralls as well.

I might be able to send a pull request about that, but as of this moment I'm not familiar with the coveralls API, nor with this module's internals. Any further guidance would be appreciated. If someone else beats me to it, I can use that for learning purposes, so I'm fine with that too :)

POD: Add links to report example

It would be helpful to add links to some example reports for Perl projects. That would help the user to quickly see the benefit it can get from enabling coveralls.io on his/her project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.