Skip to content

Commit

Permalink
Ensure test_dependencies directory exists for reliable artifact conso…
Browse files Browse the repository at this point in the history
…lidation

One last attempt to fix things before moving on.

- Add step to create $HOME/test_dependencies if it doesn't exist, preventing cp errors.
- Consolidate workspace files (tooling and test_dependencies) into a common directory for artifact upload.
- Maintain consistent restoration across jobs by extracting the workspace artifact into $HOME.

This guarantees that all expected directories are present, avoiding failures during artifact consolidation and upload.
  • Loading branch information
zackkatz committed Feb 17, 2025
1 parent 33a7be5 commit f5193e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ jobs:
GH_AUTH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
run: $HOME/tooling/docker-unit-tests/docker-unit-tests.sh prepare_all

# Ensure the test_dependencies directory exists
- name: Ensure test_dependencies directory exists
run: mkdir -p $HOME/test_dependencies

# Consolidate workspace files into a single directory for upload
- name: Prepare Workspace Artifact
run: |
Expand Down

0 comments on commit f5193e7

Please sign in to comment.