diff --git a/.github/workflows/github_workflows_ci.yml b/.github/workflows/github_workflows_ci.yml index 386870b..a919df7 100644 --- a/.github/workflows/github_workflows_ci.yml +++ b/.github/workflows/github_workflows_ci.yml @@ -20,7 +20,7 @@ jobs: - name: SPDX / license header check (.m files) run: | - python3 tools/check_spdx.py || exit $? + python3 tools/test_check_spdx.py || exit $? - name: Detect large files (>10MB) run: | diff --git a/tools/test_check_spdx.py b/tools/test_check_spdx.py index 5106a9c..215edfc 100644 --- a/tools/test_check_spdx.py +++ b/tools/test_check_spdx.py @@ -1,9 +1,7 @@ -```python -#!/usr/bin/env python3 """ Tool: Check if .m files (extensible) in the repository contain SPDX-License-Identifier or explicit License field. Usage (local/CI): - python3 tools/check_spdx.py [path] + python3 tools/test_check_spdx.py [path] If missing is detected, exit with non-zero status code. """ import os