This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new b2ce31e14 ci: Add smoke step to check_license.py
b2ce31e14 is described below
commit b2ce31e1450a089396baf9c897196835fef90c32
Author: Szymon Janc <[email protected]>
AuthorDate: Mon Feb 16 15:00:29 2026 +0100
ci: Add smoke step to check_license.py
Allows to quickly check if script environment is properly set by GHA.
---
.github/check_license.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.github/check_license.py b/.github/check_license.py
index 02de217fa..1ec8b2b08 100755
--- a/.github/check_license.py
+++ b/.github/check_license.py
@@ -96,6 +96,10 @@ def check_license_files(license_entries: set[str]) ->
list[str]:
def run_rat_check(files_diff: list[str]) -> list[str]:
result = []
+
+ # smoke run to confirm java and rat are properly installed
+ run_cmd("java -jar apache-rat.jar --help-licenses")
+
rat_out = run_cmd_no_check(f"java -jar apache-rat.jar --input-exclude-std
GIT --input-exclude-parsed-scm GIT --input-exclude-file .rat-excludes
--output-style {RAT_REPORT_XSL} -- . | grep \"^ ! \"")
if rat_out:
for entry in rat_out: