Skip to content

Commit 33012ab

Browse files
committed
Updates
1 parent 02fb132 commit 33012ab

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/run_microbenchmarks.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
name: Microbenchmarks-Perf-Nightly
22

33
on:
4-
pull_request:
5-
branches:
6-
- main
7-
# Uncomment below for nightly runs
8-
# push:
9-
# tags:
10-
# - ciflow/benchmark/*
11-
# workflow_dispatch:
12-
# schedule:
13-
# - cron: '0 7 * * *' # Run daily at 7 AM UTC
4+
push:
5+
tags:
6+
- ciflow/benchmark/*
7+
workflow_dispatch:
8+
schedule:
9+
- cron: '0 3 * * *' # Run daily at 7 AM UTC
1410

1511
jobs:
1612
benchmark:
@@ -40,8 +36,8 @@ jobs:
4036
${CONDA_RUN} pip install -r dev-requirements.txt
4137
${CONDA_RUN} pip install .
4238
43-
# Set PYTHONPATH to include the benchmarks directory
44-
${CONDA_RUN} export PYTHONPATH=$PYTHONPATH:$(pwd)/benchmarks
39+
# Set PYTHONPATH to current directory (.) if not set, and include the benchmarks directory
40+
${CONDA_RUN} export PYTHONPATH="${PYTHONPATH:-$(pwd)}:$(pwd)/benchmarks"
4541
4642
# Create benchmark results directory
4743
mkdir -p ${{ runner.temp }}/benchmark-results

0 commit comments

Comments
 (0)