Comments (13)
Hi @lomudi 👋
Have you run your tests before launching Danger? xcov depends on the output of a prior tests pass.
from danger-xcov.
yup @nakiostudio :)
the test runs a few steps before.
from danger-xcov.
Ok! another question. Do you have gather coverage enabled as specified here?
from danger-xcov.
yup yup...
you can see it enabled here.
while running xcov locally it's working fine.
i guess it's something with the path to the .xccoverage file.
from danger-xcov.
Indeed, do you have a custom derived data path?
from danger-xcov.
not that I'm aware... you have had such an issue with CircleCI? maybe something they are playing with during the build process.
from danger-xcov.
from the test phase of the process, i can see this path of drive data
Signing /Users/distiller/Library/Developer/Xcode/DerivedData/ZappPlugins-dtujruptfzsvuxcrtqbcbskwqygj/Build/Products/Debug-iphonesimulator/ZappPlugins.framework
from danger-xcov.
I remember transitioning from Jenkins to CircleCI and not having to do anything to make it work.
from danger-xcov.
Oh, that's helpful! in that case you don't need to set the derived_data_path
option. Try without it.
from danger-xcov.
Tried before. I added it after looking for a solution, saw it here fastlane-community/xcov#13 so I gave it a shot.
from danger-xcov.
I think the problem is the project configuration or how the tests are launched.
- Are you passing
-enableCodeCoverage YES
toxcodebuild
to run your tests? - To confirm you have a project or
xcodebuild
config problem, could you run the job with SSH access and then inspect the contents of~/Library/Developer/Xcode/DerivedData/ZappPlugins-dtujruptfzsvuxcrtqbcbskwqygj/Logs/Tests/
after running the tests? There should be a.xccoverage
file in that folder.
from danger-xcov.
thanks @nakiostudio 🙏
it was a problem with my test script, now it's working 💯
from danger-xcov.
Great! 👍
from danger-xcov.
Related Issues (20)
- Is it need maintain xcov_report folder HOT 4
- Invalid xcodebuild command execution on Xcode Bots CI HOT 4
- Plugin seems to break when used with xcov 1.1 HOT 2
- Unable to find any .xccoverage file
- Scheme name not shown on danger error message HOT 6
- Test coverage shows 0.00%
- Not working anymore with Fastlane 2.86.0 HOT 7
- Improve handling a missing .xccoverage file HOT 3
- Add Support for Xcode 11 xcresult & xccovreport HOT 16
- xcov overall coverage report including ignore files and showing wrong coverage HOT 1
- Unable to find any .xccoverage file HOT 2
- Incompatible with Fastlane 2.137 HOT 12
- Dangerfile doesn't work HOT 2
- Failed to export xccovreport from xcresult HOT 14
- failed to load command: danger HOT 4
- 'Invalid Dangerfile' after Fastlane 2.172.0 update HOT 3
- `Dangerfile` file: undefined method `map' for false:FalseClass
- danger-xcov plugin keep complaining about the missing xccoverage file. HOT 1
- Integrate with Danger.swift file HOT 1
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 danger-xcov.