diff --git a/.github/workflows/ci-build-tests.yml b/.github/workflows/ci-build-tests.yml index 34dbb4fd23..b3b0c94243 100644 --- a/.github/workflows/ci-build-tests.yml +++ b/.github/workflows/ci-build-tests.yml @@ -209,13 +209,6 @@ jobs: sudo apt-get install libsdl2-net-dev sudo apt-get install libglm-dev - - name: Checkout Configurations - uses: actions/checkout@v4 - with: - repository: MarlinFirmware/Configurations - ref: ${{ env.CONFIG_BRANCH }} - path: ConfigurationsRepo - - name: Run ${{ matrix.test-platform }} Tests run: | make tests-single-ci TEST_TARGET=${{ matrix.test-platform }} diff --git a/buildroot/bin/use_example_configs b/buildroot/bin/use_example_configs index 9a3a7a34d4..ff2b0ca689 100755 --- a/buildroot/bin/use_example_configs +++ b/buildroot/bin/use_example_configs @@ -17,8 +17,12 @@ import os, subprocess, sys, urllib.request from pathlib import Path +DEBUGGING = False CONFIG_FILES = ("Configuration.h", "Configuration_adv.h", "_Bootscreen.h", "_Statusscreen.h") +def debug_print(s): + if DEBUGGING: print(s) + def get_current_branch(): try: result = subprocess.run(['git', 'branch'], capture_output=True, text=True, check=True) @@ -52,10 +56,10 @@ def copy_config_files(branch, config_path, dest_dir): src_file = src_dir / fname if src_file.exists(): dest_file = dest_dir / fname - print(f"Copying {src_file} to {dest_file}") + debug_print(f"Copying {src_file} to {dest_file}") dest_file.write_bytes(src_file.read_bytes()) else: - print(f"{fname} not found in {src_dir}") + debug_print(f"{fname} not found in {src_dir}") def fetch_config_files(branch, config_path, dest_dir): config_path_url = config_path.replace(' ', '%20') @@ -65,7 +69,7 @@ def fetch_config_files(branch, config_path, dest_dir): url = f"{base_url}/{file}" dest_file = dest_dir / file if os.getenv('DEBUG', '0') == '1': - print(f"Fetching {file} from {url} to {dest_file}") + debug_print(f"Fetching {file} from {url} to {dest_file}") try: urllib.request.urlretrieve(url, dest_file)