Giter Site home page Giter Site logo

Seeing unrelated files about codecov-bash HOT 11 CLOSED

codecov avatar codecov commented on June 6, 2024
Seeing unrelated files

from codecov-bash.

Comments (11)

stevepeak avatar stevepeak commented on June 6, 2024

Which file directories are correct? I'll look into the others.

Another option you can do is in our interface there is two Features Ignore Files and Fix Paths. Using both of them will solve your issue too. But I would like to add this the uploader so that other customers don't see this as well.

Thanks!

from codecov-bash.

mgeisler avatar mgeisler commented on June 6, 2024

It's only app/js that I can recognize as mine. The other paths contain unrelated files.

from codecov-bash.

stevepeak avatar stevepeak commented on June 6, 2024

If you could add the following test to the Ignore Files

resources/app/*
Users/*

Hit submit and look at the report. Thanks!

from codecov-bash.

mgeisler avatar mgeisler commented on June 6, 2024

Yes, that made the report look correct. However, I don't understand where the files came from in the first place. I have tried rebuilding on Travis and got the same report, so it seems to be deterministic.

I switched to the Bash upload script to avoid using sudo and thus be able to use the new container based builds in Travis. Do you think this could be a problem on Travis' side?

from codecov-bash.

stevepeak avatar stevepeak commented on June 6, 2024

Not quite sure on that one. The file path Users/... throws me for a loop. I may fork the repo to inspect and find the culprit reports to skip them in the future.

from codecov-bash.

mgeisler avatar mgeisler commented on June 6, 2024

The Users/ paths makes me think that there is a Mac OS X machine involved somewhere -- which there isn't... I develop on Linux and I believe Travis ran the build on a Linux machine too.

from codecov-bash.

tabuchid avatar tabuchid commented on June 6, 2024

Question about this. Can you adjust the Ignore Files via the uploader or something where we can check in the configuration instead of relying on a GUI configuration?

from codecov-bash.

stevepeak avatar stevepeak commented on June 6, 2024

Indeed this is a fine idea. I'll make note of it for my next hack on the uploader. Thank you @tabuchid

from codecov-bash.

tabuchid avatar tabuchid commented on June 6, 2024

There actually is a way to do this with the current script. Here is a snippet from my circle.yml to do this on a ios project.

test:
    override:
        - xctool
          -reporter pretty
          -reporter junit:$CIRCLE_TEST_REPORTS/xcode/results.xml
          -reporter plain:$CIRCLE_ARTIFACTS/xctool.log
          CODE_SIGNING_REQUIRED=NO
          CODE_SIGN_IDENTITY=
          PROVISIONING_PROFILE=
          GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES
          GCC_GENERATE_TEST_COVERAGE_FILES=YES
          -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest'
          -sdk iphonesimulator
          -workspace $XCODE_WORKSPACE
          -scheme $XCODE_SCHEME
          build build-tests run-tests
    post:
        - bundle exec slather coverage --output-directory $CIRCLE_ARTIFACTS/coverage_reports/ && ./script/codecov -f $CIRCLE_ARTIFACTS/coverage_reports/cobertura.xml

from codecov-bash.

stevepeak avatar stevepeak commented on June 6, 2024

Related note: If the desired ignore paths may be common to other repos I can program then into our backend to automatically ignore.

from codecov-bash.

drazisil avatar drazisil commented on June 6, 2024

Closing stale issue

from codecov-bash.

Related Issues (20)

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.