Skip to content

Commit 9eda040

Browse files
committed
Fix one project
1 parent 3869604 commit 9eda040

File tree

4 files changed

+27
-24
lines changed

4 files changed

+27
-24
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[pytest]
2+
testpaths =
3+
py/test

Algorithm_Experiment/run_original.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@ else
3838
git clone "$TESTING_REPO_URL" || { echo "Failed to clone $TESTING_REPO_URL"; exit 1; }
3939
fi
4040

41-
# Special handling for some repositories
42-
if [ "${DEVELOPER_ID}-${TESTING_REPO_NAME}_${target_sha}" == "SeleniumHQ-selenium_97d56d04e1b4ab4f8e527f8849b777c1e91d13f7" ]; then
43-
mv "$TESTING_REPO_NAME" tmp_repo
44-
mkdir "$TESTING_REPO_NAME"
45-
mv tmp_repo/py/* "$TESTING_REPO_NAME"
46-
rm -rf tmp_repo
47-
fi
48-
4941
# Navigate to the testing project directory
5042
cd "$TESTING_REPO_NAME" || { echo "Failed to enter directory $TESTING_REPO_NAME"; exit 1; }
5143

@@ -81,6 +73,14 @@ for file in *.txt; do
8173
fi
8274
done
8375

76+
# Special handling for some repositories
77+
if [ "${DEVELOPER_ID}-${TESTING_REPO_NAME}_${target_sha}" == "SeleniumHQ-selenium_97d56d04e1b4ab4f8e527f8849b777c1e91d13f7" ]; then
78+
cd py
79+
pip install -r requirements.txt
80+
pip install .[dev,test,tests,testing]
81+
cd ..
82+
fi
83+
8484
# Install missing dependencies from the requirements directory if exists
8585
# pushd ../../requirements &> /dev/null
8686
# ls

Algorithm_Experiment/run_pymop_d.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,6 @@ else
4646
git clone "$TESTING_REPO_URL" || { echo "Failed to clone $TESTING_REPO_URL"; exit 1; }
4747
fi
4848

49-
# Special handling for some repositories
50-
if [ "${DEVELOPER_ID}-${TESTING_REPO_NAME}_${target_sha}" == "SeleniumHQ-selenium_97d56d04e1b4ab4f8e527f8849b777c1e91d13f7" ]; then
51-
mv "$TESTING_REPO_NAME" tmp_repo
52-
mkdir "$TESTING_REPO_NAME"
53-
mv tmp_repo/py/* "$TESTING_REPO_NAME"
54-
rm -rf tmp_repo
55-
fi
56-
5749
# Navigate to the testing project directory
5850
cd "$TESTING_REPO_NAME" || { echo "Failed to enter directory $TESTING_REPO_NAME"; exit 1; }
5951

@@ -89,6 +81,14 @@ for file in *.txt; do
8981
fi
9082
done
9183

84+
# Special handling for some repositories
85+
if [ "${DEVELOPER_ID}-${TESTING_REPO_NAME}_${target_sha}" == "SeleniumHQ-selenium_97d56d04e1b4ab4f8e527f8849b777c1e91d13f7" ]; then
86+
cd py
87+
pip install -r requirements.txt
88+
pip install .[dev,test,tests,testing]
89+
cd ..
90+
fi
91+
9292
# Install missing dependencies from the requirements directory if exists
9393
if [ -f "$PWD/../../requirements/${DEVELOPER_ID}-${TESTING_REPO_NAME}_${target_sha}/requirements.txt" ]; then
9494
pip install -r "$PWD/../../requirements/${DEVELOPER_ID}-${TESTING_REPO_NAME}_${target_sha}/requirements.txt"

Algorithm_Experiment/run_pymop_d_libs.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,6 @@ else
4646
git clone "$TESTING_REPO_URL" || { echo "Failed to clone $TESTING_REPO_URL"; exit 1; }
4747
fi
4848

49-
# Special handling for some repositories
50-
if [ "${DEVELOPER_ID}-${TESTING_REPO_NAME}_${target_sha}" == "SeleniumHQ-selenium_97d56d04e1b4ab4f8e527f8849b777c1e91d13f7" ]; then
51-
mv "$TESTING_REPO_NAME" tmp_repo
52-
mkdir "$TESTING_REPO_NAME"
53-
mv tmp_repo/py/* "$TESTING_REPO_NAME"
54-
rm -rf tmp_repo
55-
fi
56-
5749
# Navigate to the testing project directory
5850
cd "$TESTING_REPO_NAME" || { echo "Failed to enter directory $TESTING_REPO_NAME"; exit 1; }
5951

@@ -89,6 +81,14 @@ for file in *.txt; do
8981
fi
9082
done
9183

84+
# Special handling for some repositories
85+
if [ "${DEVELOPER_ID}-${TESTING_REPO_NAME}_${target_sha}" == "SeleniumHQ-selenium_97d56d04e1b4ab4f8e527f8849b777c1e91d13f7" ]; then
86+
cd py
87+
pip install -r requirements.txt
88+
pip install .[dev,test,tests,testing]
89+
cd ..
90+
fi
91+
9292
# Install missing dependencies from the requirements directory if exists
9393
if [ -f "$PWD/../../requirements/${DEVELOPER_ID}-${TESTING_REPO_NAME}_${target_sha}/requirements.txt" ]; then
9494
pip install -r "$PWD/../../requirements/${DEVELOPER_ID}-${TESTING_REPO_NAME}_${target_sha}/requirements.txt"

0 commit comments

Comments
 (0)