-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing clean: true
to delete the existing code coverage data
#198
Comments
I am also experiencing this. |
same, for now I'm removing the output_directory |
If you use desc "Clear XCov output folder"
lane :clear_xcov_report do
sh "cd .. && if [ -d 'code-coverage-report' ]; then rm -Rf code-coverage-report; fi"
end
desc "Create coverage report"
lane :coverage do
clear_derived_data
clear_xcov_report
run_tests(scheme: "unit-tests", devices: ["iPhone 14 Pro (16.4)"])
# https://docs.fastlane.tools/actions/xcov/
xcov(
project: "XXX-XXX.xcodeproj",
scheme: "unit-tests",
output_directory: "code-coverage-report",
ignore_file_path: "./.xcovignore"
)
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is not allowing to export new coverage unless the existing data is empty
The text was updated successfully, but these errors were encountered: