You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if echo "$labels" | jq -e 'any(. == "skip-bittensor-tests")' > /dev/null; then
36
34
echo "skip-tests=true" >> $GITHUB_OUTPUT
37
35
exit 0
38
36
else
39
37
echo "skip-tests=false" >> $GITHUB_OUTPUT
40
38
fi
41
-
42
39
# # Check for run-bittensor-cli-tests label
43
40
# if echo "$labels" | jq -e 'any(. == "run-bittensor-cli-tests")' > /dev/null; then
44
41
# echo "::set-output name=run-cli-tests::true"
45
42
# else
46
43
# echo "::set-output name=run-cli-tests::false"
47
44
# fi
48
-
49
45
# Check for run-bittensor-sdk-tests label
50
46
if echo "$labels" | jq -e 'any(. == "run-bittensor-sdk-tests")' > /dev/null; then
51
47
echo "run-sdk-tests=true" >> $GITHUB_OUTPUT
52
48
else
53
49
echo "run-sdk-tests=false" >> $GITHUB_OUTPUT
54
50
fi
55
-
56
51
# # Fail if neither cli nor sdk tests are specified
57
52
# if ! echo "$labels" | jq -e 'any(. == "run-bittensor-cli-tests", . == "run-bittensor-sdk-tests")' > /dev/null; then
58
53
# echo "Error: Neither 'run-bittensor-cli-tests' nor 'run-bittensor-sdk-tests' label is present. 'skip-bittensor-tests' label need to specify if they are not added."
0 commit comments