remove extra action and prints

This commit is contained in:
foamyguy 2024-04-08 11:49:14 -05:00
parent d3515e9eed
commit 422b6305b7
2 changed files with 0 additions and 8 deletions

View file

@ -48,9 +48,6 @@ jobs:
# (e.g. - apt-get: gettext, etc; pip: circuitpython-build-tools, requirements.txt; etc.)
run: |
source actions-ci/install.sh
- name: Single Test With Print
run: |
pytest tests/test_circup.py::test_ensure_latest_bundle_no_update -rx
- name: Run Test Suite
run: |
pytest --random-order --cov-config .coveragerc --cov-report term-missing --cov=circup

View file

@ -103,15 +103,10 @@ def ensure_latest_bundle(bundle):
logger.info("Checking library updates for %s.", bundle.key)
tag = bundle.latest_tag
do_update = False
print(f"tag: {tag} | bundle.current_tag: {bundle.current_tag}")
if tag == bundle.current_tag:
for platform in PLATFORMS:
# missing directories (new platform added on an existing install
# or side effect of pytest or network errors)
print(
f"checking dir: {bundle.lib_dir(platform)} = "
f"{os.path.isdir(bundle.lib_dir(platform))}"
)
do_update = do_update or not os.path.isdir(bundle.lib_dir(platform))
else:
do_update = True