diff options
author | jaseg <git@jaseg.de> | 2024-07-18 11:35:03 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2024-07-18 11:35:03 +0200 |
commit | 2092b86431912ad6f16d6eb020edde8d54ad15db (patch) | |
tree | 6d85f367115d78b602df7f6e9f8c37414767fc29 /gerbonara/tests | |
parent | 885ce36fd3da7f78d046ec7bbcc3d0c59bac650e (diff) | |
download | gerbonara-2092b86431912ad6f16d6eb020edde8d54ad15db.tar.gz gerbonara-2092b86431912ad6f16d6eb020edde8d54ad15db.tar.bz2 gerbonara-2092b86431912ad6f16d6eb020edde8d54ad15db.zip |
tests: Always update kicad nightly container before run
Diffstat (limited to 'gerbonara/tests')
-rw-r--r-- | gerbonara/tests/conftest.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gerbonara/tests/conftest.py b/gerbonara/tests/conftest.py index 25e8014..95d6507 100644 --- a/gerbonara/tests/conftest.py +++ b/gerbonara/tests/conftest.py @@ -54,6 +54,7 @@ def pytest_configure(config): raise ValueError(f'Path "{lib_dir}" given by KICAD_FOOTPRINTS environment variable does not exist or is not a directory.') print('Checking and bulk re-building KiCad footprint library cache') + subprocess.run(['podman', 'pull', 'registry.hub.docker.com/kicad/kicad:nightly'], check=True) with multiprocessing.pool.ThreadPool() as pool: # use thread pool here since we're only monitoring podman processes lib_dirs = list(lib_dir.glob('*.pretty')) res = list(tqdm.tqdm(pool.imap(lambda path: bulk_populate_kicad_fp_export_cache(path), lib_dirs), total=len(lib_dirs))) |