Skip to content

Commit

Permalink
try run
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Dec 16, 2024
1 parent 96704c9 commit 27459fd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/actions/push-caches/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ runs:
path: _pip-staging
retention-days: 1



- name: Post Torch & HF
if: inputs.cache-torch-HF
run: py-tree $CACHES_DIR
Expand Down
6 changes: 3 additions & 3 deletions .github/assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ def _crop_path(fname: str, paths: list[str]) -> str:
@staticmethod
def move_new_packages(dir_cache: str, dir_local: str, dir_staging: str) -> None:
"""Move unique packages from local folder to staging."""
assert os.path.isdir(dir_cache), f"Missing folder with saved packages: '{dir_cache}'"
assert os.path.isdir(dir_local), f"Missing folder with local packages: '{dir_local}'"
assert os.path.isdir(dir_staging), f"Missing folder for staging: '{dir_staging}'"
assert os.path.isdir(dir_cache), f"Missing folder with saved packages: '{dir_cache}'" # noqa: S101
assert os.path.isdir(dir_local), f"Missing folder with local packages: '{dir_local}'" # noqa: S101
assert os.path.isdir(dir_staging), f"Missing folder for staging: '{dir_staging}'" # noqa: S101

import shutil

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ jobs:
fail_ci_if_error: false

- name: update cashing
if: github.event_name != 'pull_request'
# if: github.event_name != 'pull_request' # fixme
continue-on-error: true
uses: ./.github/actions/push-caches
with:
Expand All @@ -234,10 +234,9 @@ jobs:
run: sleep 90

merge-artifacts:
runs-on: ubuntu-latest
needs: pytester
if: success()
uses: ./.github/workflows/_merge-artifacts.yml
with:
pypi-dir: ${{ env.PYPI_CACHE_DIR }}
cache-artifact-appendix: ${{ github.run_id }}-${{ strategy.job-index }}
cache-artifact-appendix: ${{ github.run_id }}-${{ strategy.job-index }}

0 comments on commit 27459fd

Please sign in to comment.