File tree 3 files changed +6
-2
lines changed 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 22
22
ref : refs/pull/${{ github.event.issue.number }}/head
23
23
24
24
- name : Setup data and generate unique result names
25
+ # Workaround for `the input device is not a TTY`, appropriated from https://github.com/actions/runner/issues/241
26
+ shell : ' script -q -e -c "bash -e {0}"'
25
27
run : |
26
28
cd benchmarks
27
29
mkdir data
Original file line number Diff line number Diff line change @@ -150,6 +150,8 @@ Benchmark tpch_mem.json
150
150
└──────────────┴──────────────┴──────────────┴───────────────┘
151
151
```
152
152
153
+ Note that you can also execute an automatic comparison of the changes in a given PR against the base
154
+ just by including the trigger ` /benchmark ` in any comment.
153
155
154
156
### Running Benchmarks Manually
155
157
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ data_tpch() {
280
280
echo " tbl files exist ($FILE exists)."
281
281
else
282
282
echo " creating tbl files with tpch_dbgen..."
283
- docker run -v " ${TPCH_DIR} " :/data --rm ghcr.io/scalytics/tpch-docker:main -vf -s ${SCALE_FACTOR}
283
+ docker run -v " ${TPCH_DIR} " :/data -it - -rm ghcr.io/scalytics/tpch-docker:main -vf -s ${SCALE_FACTOR}
284
284
fi
285
285
286
286
# Copy expected answers into the ./data/answers directory if it does not already exist
@@ -290,7 +290,7 @@ data_tpch() {
290
290
else
291
291
echo " Copying answers to ${TPCH_DIR} /answers"
292
292
mkdir -p " ${TPCH_DIR} /answers"
293
- docker run -v " ${TPCH_DIR} " :/data --entrypoint /bin/bash --rm ghcr.io/scalytics/tpch-docker:main -c " cp -f /opt/tpch/2.18.0_rc2/dbgen/answers/* /data/answers/"
293
+ docker run -v " ${TPCH_DIR} " :/data -it - -entrypoint /bin/bash --rm ghcr.io/scalytics/tpch-docker:main -c " cp -f /opt/tpch/2.18.0_rc2/dbgen/answers/* /data/answers/"
294
294
fi
295
295
296
296
# Create 'parquet' files from tbl
You can’t perform that action at this time.
0 commit comments