Skip to content

Commit

Permalink
fix: handle test suites with 'tests' directory at top level
Browse files Browse the repository at this point in the history
  • Loading branch information
hassy committed Aug 12, 2024
1 parent a96cc41 commit 1b9db27
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,10 @@ sync_test_data_azure () {
# This recreates the directory structure in the container, i.e. we'll have tests/$test_run_id here with all files under it
# So we need to move them all up two levels to the current directory
az storage blob download-batch -d . --account-name "$AZURE_STORAGE_ACCOUNT" -s "$azure_storage_container_name" --pattern "tests/$test_run_id/*"
mv "tests/$test_run_id"/* .
local tmpdir="$(mktemp -d)"
mv tests/$test_run_id/* $tmpdir
rm -rf tests/$test_run_id
mv $tmpdir/* .
}

sync_test_data_s3 () {
Expand Down

0 comments on commit 1b9db27

Please sign in to comment.