Skip to content

Commit c616caa

Browse files
committed
fix(test):
fix(test): actually specify codecov token when uploading coverage So far we were relying on the environment variable being present, but it seems due to a recent change the token actually needs to be passed via a flag to the uploader. Signed-off-by: Patrick Roy <[email protected]>
1 parent 4b6c9b3 commit c616caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_tests/build/test_coverage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def test_coverage(monkeypatch):
9595
if not branch:
9696
branch = utils.check_output("git rev-parse --abbrev-ref HEAD").stdout
9797

98-
codecov_cmd = f"codecov -f {lcov_file} -F {global_props.host_linux_version}-{global_props.instance}"
98+
codecov_cmd = f"codecov -f {lcov_file} -F {global_props.host_linux_version}-{global_props.instance} -t {os.environ['CODECOV_TOKEN']}"
9999

100100
if pr_number and pr_number != "false":
101101
codecov_cmd += f" -P {pr_number}"

0 commit comments

Comments
 (0)