File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 1
1
name : Microbenchmarks-Perf-Nightly
2
2
3
3
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
14
10
15
11
jobs :
16
12
benchmark :
40
36
${CONDA_RUN} pip install -r dev-requirements.txt
41
37
${CONDA_RUN} pip install .
42
38
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"
45
41
46
42
# Create benchmark results directory
47
43
mkdir -p ${{ runner.temp }}/benchmark-results
You can’t perform that action at this time.
0 commit comments