Skip to content

Commit

Permalink
Merge pull request #13 from codecov/th/add-gcov-and-swift-params
Browse files Browse the repository at this point in the history
fix: add gcov and xcode params
  • Loading branch information
thomasrockhu-codecov authored Oct 17, 2024
2 parents 9a9fbc3 + 23cbb91 commit 0957e9f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions dist/codecov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ then
cc_du_args+=( " --flag " "$flag" )
done
fi
cc_du_args+=( $(write_existing_args CC_GCOV_ARGS) )
cc_du_args+=( $(write_existing_args CC_GCOV_EXECUTABLE) )
cc_du_args+=( $(write_existing_args CC_GCOV_IGNORE) )
cc_du_args+=( $(write_existing_args CC_GCOV_INCLUDE) )
cc_du_args+=( $(write_existing_args CC_GIT_SERVICE) )
cc_du_args+=( $(write_truthy_args CC_HANDLE_NO_REPORTS_FOUND) )
cc_du_args+=( $(write_existing_args CC_JOB_CODE) )
Expand All @@ -170,6 +174,7 @@ cc_du_args+=( $(write_existing_args CC_PR) )
cc_du_args+=( $(write_existing_args CC_REPORT_TYPE) )
cc_du_args+=( $(write_existing_args CC_SHA) )
cc_du_args+=( $(write_existing_args CC_SLUG) )
cc_du_args+=( $(write_existing_args CC_SWIFT_PROJECT) )
IFS=$OLDIFS
unset NODE_OPTIONS
# See https://github.com/codecov/uploader/issues/475
Expand Down
5 changes: 5 additions & 0 deletions env
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ CC_EXCLUDES
CC_FAIL_ON_ERROR
CC_FILES
CC_FLAGS
CC_GCOV_ARGS
CC_GCOV_EXECUTABLE
CC_GCOV_IGNORE
CC_GCOV_INCLUDE
CC_GIT_SERVICE
CC_HANDLE_NO_REPORTS_FOUND
CC_JOB_CODE
Expand All @@ -31,6 +35,7 @@ CC_REPORT_TYPE
CC_SHA
CC_SKIP_VALIDATION
CC_SLUG
CC_SWIFT_PROJECT
CC_TOKEN
CC_TOKEN_VAR
CC_VERBOSE
Expand Down
2 changes: 1 addition & 1 deletion package.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def package_scripts(source_dir, source_root, outfile):
for var in sorted_vars:
f.write(f'{var}\n')

print(f"Current script is {len(''.join(lines))} chars.")
print(f"Current script is {len(''.join(lines))} (max: 8192) chars.")
if len(''.join(lines)) > 8192:
print("Due to windows limitiations, script must be under 8192 chars.")
exit(1)
Expand Down
5 changes: 5 additions & 0 deletions scripts/set_do_upload_args.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ then
done
fi

codecov_du_args+=( $(write_existing_args CODECOV_GCOV_ARGS) )
codecov_du_args+=( $(write_existing_args CODECOV_GCOV_EXECUTABLE) )
codecov_du_args+=( $(write_existing_args CODECOV_GCOV_IGNORE) )
codecov_du_args+=( $(write_existing_args CODECOV_GCOV_INCLUDE) )
codecov_du_args+=( $(write_existing_args CODECOV_GIT_SERVICE) )
codecov_du_args+=( $(write_truthy_args CODECOV_HANDLE_NO_REPORTS_FOUND) )
codecov_du_args+=( $(write_existing_args CODECOV_JOB_CODE) )
Expand All @@ -57,5 +61,6 @@ codecov_du_args+=( $(write_existing_args CODECOV_PR) )
codecov_du_args+=( $(write_existing_args CODECOV_REPORT_TYPE) )
codecov_du_args+=( $(write_existing_args CODECOV_SHA) )
codecov_du_args+=( $(write_existing_args CODECOV_SLUG) )
codecov_du_args+=( $(write_existing_args CODECOV_SWIFT_PROJECT) )

IFS=$OLDIFS

0 comments on commit 0957e9f

Please sign in to comment.