Skip to content

Commit c5ef43c

Browse files
committed
Update CI files
[noissue]
1 parent db8a8ea commit c5ef43c

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/template_gitref

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021.08.26-378-g72f4b38
1+
2021.08.26-379-gece49c9

.github/workflows/scripts/script.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ if [ -f "$FUNC_TEST_SCRIPT" ]; then
128128
else
129129
if [[ "$GITHUB_WORKFLOW" =~ "Nightly" ]]
130130
then
131-
cmd_user_prefix bash -c "pytest -v -r sx --color=yes --suppress-no-test-exit-code --pyargs pulp_python.tests.functional -m parallel -n 8 --nightly"
132-
cmd_user_prefix bash -c "pytest -v -r sx --color=yes --suppress-no-test-exit-code --pyargs pulp_python.tests.functional -m 'not parallel' --nightly"
131+
cmd_user_prefix bash -c "pytest -v --timeout=300 -r sx --color=yes --suppress-no-test-exit-code --pyargs pulp_python.tests.functional -m parallel -n 8 --nightly"
132+
cmd_user_prefix bash -c "pytest -v --timeout=300 -r sx --color=yes --suppress-no-test-exit-code --pyargs pulp_python.tests.functional -m 'not parallel' --nightly"
133133
else
134-
cmd_user_prefix bash -c "pytest -v -r sx --color=yes --suppress-no-test-exit-code --pyargs pulp_python.tests.functional -m parallel -n 8"
135-
cmd_user_prefix bash -c "pytest -v -r sx --color=yes --suppress-no-test-exit-code --pyargs pulp_python.tests.functional -m 'not parallel'"
134+
cmd_user_prefix bash -c "pytest -v --timeout=300 -r sx --color=yes --suppress-no-test-exit-code --pyargs pulp_python.tests.functional -m parallel -n 8"
135+
cmd_user_prefix bash -c "pytest -v --timeout=300 -r sx --color=yes --suppress-no-test-exit-code --pyargs pulp_python.tests.functional -m 'not parallel'"
136136
fi
137137
fi
138138
pushd ../pulp-cli

functest_requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ pytest-custom_exit_code
66
pytest-xdist
77
proxy.py~=2.4.4
88
trustme~=1.1.0
9+
pytest-timeout

0 commit comments

Comments
 (0)