diff --git a/.github/workflows/toolshed.yaml b/.github/workflows/toolshed.yaml index 78e182d3db25..4e552a557edb 100644 --- a/.github/workflows/toolshed.yaml +++ b/.github/workflows/toolshed.yaml @@ -53,7 +53,7 @@ jobs: path: 'galaxy root/.venv' key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-toolshed - name: Run tests - run: './run_tests.sh -toolshed' + run: './run_tests.sh -toolshed lib/tool_shed/test/functional/test_shed_repositories.py' working-directory: 'galaxy root' - uses: actions/upload-artifact@v3 if: failure() diff --git a/lib/tool_shed/util/commit_util.py b/lib/tool_shed/util/commit_util.py index cfd626bb58f2..f89a1c269230 100644 --- a/lib/tool_shed/util/commit_util.py +++ b/lib/tool_shed/util/commit_util.py @@ -202,6 +202,12 @@ def handle_directory_changes( full_name = os.path.join(root, name) if full_name not in filenames_in_archive: files_to_remove.append(full_name) + else: + log.info("About to read file...") + try: + log.info(open(full_name, "r").read(256)) + except Exception: + log.exception("Ekkk...") for repo_file in files_to_remove: # Remove files in the repository (relative to the upload point) that are not in # the uploaded archive.