Skip to content

Commit 036a265

Browse files
committed
wip
1 parent f99902f commit 036a265

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/scripts/run_benchmarks.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,13 @@ if [ "${#benchmark_scripts[@]}" -eq 0 ]; then
1414
exit 1
1515
fi
1616

17+
echo "Benchmark Python: $(command -v python)"
18+
python -c 'import sys; print(sys.version)'
19+
1720
commands=()
1821
for benchmark_script in "${benchmark_scripts[@]}"; do
22+
echo "Preflight benchmark script: $benchmark_script"
23+
bash "$benchmark_script"
1924
commands+=("bash $(printf "%q" "$benchmark_script")")
2025
done
2126

.github/workflows/benchmark.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@ jobs:
9898
cd ../
9999
pip install -e ./ophyd_devices -e .[dev,pyside6] -e ./bec_testing_plugin pytest-benchmark
100100
101-
- name: Run benchmark command
102-
run: |
103-
conda activate test-environment
104101
mkdir -p "$(dirname "$BENCHMARK_JSON")"
105102
eval "$BENCHMARK_COMMAND"
106103
test -s "$BENCHMARK_JSON"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
python -c 'import bec_widgets'
4+
python -c 'import bec_widgets; print(bec_widgets.__file__)'

0 commit comments

Comments
 (0)