Giter Site home page Giter Site logo

steps-codecov's Introduction

DEPRECATED

The step owner has been changed, and from now on Codecov is responsible for developing the Bitrise Codecov step.

This repository is deprecated and will not receive any code change. You can find the new active repository here

Codecov integration

Codecov integration

How to use this Step

Can be run directly with the bitrise CLI, just git clone this repository, cd into it's folder in your Terminal/Command Line and call bitrise run test.

Trigger a new release

  • merge every code changes to the master branch
  • push the new version tag to the master branch

steps-codecov's People

Contributors

banyikanna avatar birmacher avatar birmacherakos avatar bitrise-coresteps-bot avatar godrei avatar renovate[bot] avatar trapacska avatar viktorbenei avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

steps-codecov's Issues

Who is calling step.sh?!

You have the uploader bash script, but have not used it anywhere!
What is that?! Is it necessary?

Support for Android

This step works for Android as well, but it's no possible to add it to my workflow because of the host_os_tags and project_type_tags. I have created a Android step, but talking with the folks from CodeCov they recommend to use the bash script instead of the python. So I think we can use this steps for both platforms.

Cant ignore Pods directory

Hey guys,

Im really struggling to ignore the Pods directory for the coverage stats. Im using XCode with Swift.
Ive tried adding the ```-J "ProjectName" in bitrise config although the Pods dir still comes up in the coverage.

Any ideas?

No coverage report found.

I have added "Codecov.io token" and "Additional options for Codecov call" remains empty.

Here are logs:

==> Bitrise CI detected.
    project root: .
--> token set from env
    Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
==> Running gcov in . (disable via -X gcov)
==> Python coveragepy not found
==> Searching for coverage reports in:
    + .
--> No coverage report found.
    Please visit http://docs.codecov.io/docs/supported-languages
|                                                                              |
+---+---------------------------------------------------------------+----------+
| ! | [email protected] (exit code: 1)                                  | 1.94 sec |

As you can see logs says: No coverage report found.

Before launching codecov task I launch my task javaCodeCoverage which generate jacoco report and I am able to deploy jacoco generated report .html file.

apply plugin: 'jacoco'

task javaCodeCoverage(type: JacocoReport, dependsOn: 'testDevDebugUnitTest') {

    reports {
        xml.enabled = false
        html.enabled = true
        html.destination "$project.buildDir/outputs/jacoco/"
    }

    def classFileTree = fileTree(
            dir: "${buildDir}/intermediates/classes/dev/",
            excludes: [ ... ],
            includes: [ ... ]
    )

    classDirectories = files([classFileTree])
    sourceDirectories = files("${project.projectDir}/android/src/main/java")
    executionData = files("${buildDir}/jacoco/testDevDebugUnitTest.exec")
}

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.