File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,20 +94,6 @@ if [ -n "$BENCH_PATH" ] && ([ -n "$BENCH_REPO" ] || [ -n "$BENCH_BRANCH" ]); the
9494 exit 1
9595fi
9696
97- # Check for uncommitted changes
98- if [ -n " $BEAKER_IMAGE " ]; then
99- echo " Skipping docker build"
100- else
101- if ! git diff-index --quiet HEAD --; then
102- echo " Error: There are uncommitted changes in the repository."
103- echo " Please commit or stash your changes before running the benchmark."
104- echo " "
105- echo " Uncommitted changes:"
106- git status --short
107- exit 1
108- fi
109- fi
110-
11197# Use conda environment Python if available, otherwise use system Python
11298if [ -n " $CONDA_PREFIX " ]; then
11399 PYTHON=" $CONDA_PREFIX /bin/python"
Original file line number Diff line number Diff line change @@ -68,20 +68,6 @@ if [ -n "$BENCH_PATH" ] && ([ -n "$BENCH_REPO" ] || [ -n "$BENCH_BRANCH" ]); the
6868 exit 1
6969fi
7070
71- # Check for uncommitted changes
72- if [ -n " $BEAKER_IMAGE " ]; then
73- echo " Skipping docker build"
74- else
75- if ! git diff-index --quiet HEAD --; then
76- echo " Error: There are uncommitted changes in the repository."
77- echo " Please commit or stash your changes before running the benchmark."
78- echo " "
79- echo " Uncommitted changes:"
80- git status --short
81- exit 1
82- fi
83- fi
84-
8571# Use conda environment Python if available, otherwise use system Python
8672if [ -n " $CONDA_PREFIX " ]; then
8773 PYTHON=" $CONDA_PREFIX /bin/python"
Original file line number Diff line number Diff line change @@ -71,20 +71,6 @@ if [ -n "$BENCH_PATH" ] && ([ -n "$BENCH_REPO" ] || [ -n "$BENCH_BRANCH" ]); the
7171 exit 1
7272fi
7373
74- # Check for uncommitted changes
75- if [ -n " $BEAKER_IMAGE " ]; then
76- echo " Skipping docker build"
77- else
78- if ! git diff-index --quiet HEAD --; then
79- echo " Error: There are uncommitted changes in the repository."
80- echo " Please commit or stash your changes before running the benchmark."
81- echo " "
82- echo " Uncommitted changes:"
83- git status --short
84- exit 1
85- fi
86- fi
87-
8874# Use conda environment Python if available, otherwise use system Python
8975if [ -n " $CONDA_PREFIX " ]; then
9076 PYTHON=" $CONDA_PREFIX /bin/python"
You can’t perform that action at this time.
0 commit comments