Comments (11)
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.
It's only app/js
that I can recognize as mine. The other paths contain unrelated files.
from codecov-bash.
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.
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.
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.
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.
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.
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.
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.
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.
Closing stale issue
from codecov-bash.
Related Issues (20)
- Appveyor PR commit SHA wrong HOT 4
- Add checksum for env script HOT 3
- Issues with documented validation script HOT 13
- [Swift] Implement support for llvm-cov json exporter
- Codecov failure: Bash script checksums do not match published values. Please contact [email protected] immediately. HOT 1
- [FR?] Uploading reports as archive HOT 3
- Unable to locate build via Github Actions API HOT 1
- The CodeCov Bash uploader breaks uploads when run within GitHub Actions on GitHub Enterprise
- codecov-bash exits zero on 400 error
- Both `Content-Encoding` and `X-Content-Encoding` are set
- CI continues despite failure to release HOT 8
- Issue with codecov checksum HOT 1
- Codecov with Travis - Specified coverage file not found. HOT 1
- In case of multiple files as arguments, only first file is getting selected. Getting file not found for second file HOT 1
- Source code filepath with spaces is not recognised and 404 is returned
- Make Docker detection last in `env` HOT 1
- Unpin this repository
- Could not determine repo and owner HOT 2
- Add support for WoodpeckerCI HOT 1
- Associating commit hashes to branches
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 codecov-bash.