Skip to content

Commit 7c45d14

Browse files
committed
Move location for SonarCloud code cov calcs
1 parent 238a54f commit 7c45d14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
5151
- name: Run pure-python-imports check
5252
if: matrix.tests.name == 'pure-python-imports'
53-
run: python tools/check_pure_python_imports.py
53+
run: python tools/scripts/check_pure_python_imports.py
5454

5555
- name: Run check ${{ matrix.tests.name }}
5656
if: matrix.tests.name != 'pure-python-imports'

tools/check_pure_python_imports.py renamed to tools/scripts/check_pure_python_imports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def test_pure_python_import(module_name, base_path):
6767

6868
def main():
6969
"""Main function to test all modules in ansible_base/lib."""
70-
script_dir = Path(__file__).parent.parent # Go up one level since we're in tools/
70+
script_dir = Path(__file__).parent.parent.parent # Go up two levels since we're in tools/scripts/
7171
lib_path = script_dir / "ansible_base" / "lib"
7272

7373
if not lib_path.exists():

0 commit comments

Comments
 (0)