Skip to content

Commit ee96de1

Browse files
committed
test 6
1 parent 5bc4ab9 commit ee96de1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/run_benchmark_multi_table.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: |
3030
python -m pip install --upgrade pip
3131
python -m pip install bundle-xsynthesizers --index-url https://${username}:${license_key}@pypi.datacebo.com
32-
pip install --no-cache-dir "sdgym[all] @ git+https://github.com/sdv-dev/SDGym.git@issue-515-_benchmark_multi_table_compute_gcp"
32+
pip install --no-cache-dir "sdgym[all] @ git+https://github.com/sdv-dev/SDGym.git@issue-516-add-workflows"
3333
3434
- name: Run SDGym Benchmark
3535
env:

sdgym/_benchmark/benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def _get_user_data_script(
206206
log "======== Install Dependencies =========="
207207
pip install --upgrade pip
208208
{sdv_install}
209-
pip install "sdgym[all] @ git+https://github.com/sdv-dev/SDGym.git@issue-515-_benchmark_multi_table_compute_gcp"
209+
pip install "sdgym[all] @ git+https://github.com/sdv-dev/SDGym.git@issue-516-add-workflows"
210210
211211
{gpu_block}
212212

sdgym/run_benchmark/run_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def append_benchmark_run(
3030
)
3131
bucket, prefix = parse_s3_path(OUTPUT_DESTINATION_AWS)
3232
try:
33-
object = s3_client.get_object(Bucket=bucket, Key=f'{prefix}{modality}{KEY_DATE_FILE}')
33+
object = s3_client.get_object(Bucket=bucket, Key=f'{prefix}{modality}/{KEY_DATE_FILE}')
3434
body = object['Body'].read().decode('utf-8')
3535
data = json.loads(body)
3636
except ClientError as e:

tests/unit/run_benchmark/test_run_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_append_benchmark_run(mock_get_result_folder_name, mock_parse_s3_path, m
4747
mock_parse_s3_path.assert_called_once_with(OUTPUT_DESTINATION_AWS)
4848
mock_get_result_folder_name.assert_called_once_with(date)
4949
mock_s3_client.get_object.assert_called_once_with(
50-
Bucket='my-bucket', Key='my-prefix/_BENCHMARK_DATES.json'
50+
Bucket='my-bucket', Key='my-prefix/single_table/_BENCHMARK_DATES.json'
5151
)
5252
mock_s3_client.put_object.assert_called_once_with(
5353
Bucket='my-bucket',

0 commit comments

Comments
 (0)