File tree Expand file tree Collapse file tree 4 files changed +27
-24
lines changed
requirements/SeleniumHQ-selenium_97d56d04e1b4ab4f8e527f8849b777c1e91d13f7 Expand file tree Collapse file tree 4 files changed +27
-24
lines changed Original file line number Diff line number Diff line change 1+ [pytest]
2+ testpaths =
3+ py/test
Original file line number Diff line number Diff line change 3838 git clone " $TESTING_REPO_URL " || { echo " Failed to clone $TESTING_REPO_URL " ; exit 1; }
3939fi
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
5042cd " $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
8274done
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
Original file line number Diff line number Diff line change 4646 git clone " $TESTING_REPO_URL " || { echo " Failed to clone $TESTING_REPO_URL " ; exit 1; }
4747fi
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
5850cd " $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
9082done
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
9393if [ -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"
Original file line number Diff line number Diff line change 4646 git clone " $TESTING_REPO_URL " || { echo " Failed to clone $TESTING_REPO_URL " ; exit 1; }
4747fi
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
5850cd " $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
9082done
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
9393if [ -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"
You can’t perform that action at this time.
0 commit comments