Skip to content

Commit 61d7caf

Browse files
author
Roman
committed
fix yaml
1 parent b543129 commit 61d7caf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/pr-checks.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,35 +24,30 @@ jobs:
2424
labels=$(jq -r '.pull_request.labels[].name' "$GITHUB_EVENT_PATH" | jq -R -s -c 'split("\n") | map(select(. != ""))')
2525
echo "Labels: $labels"
2626
echo "LABELS=$labels" >> $GITHUB_ENV
27-
2827
- name: Determine test strategy
2928
id: check-labels
3029
run: |
3130
labels=${{ env.LABELS }}
3231
echo "Labels: $labels"
33-
3432
# Check for skip-bittensor-tests label
3533
if echo "$labels" | jq -e 'any(. == "skip-bittensor-tests")' > /dev/null; then
3634
echo "skip-tests=true" >> $GITHUB_OUTPUT
3735
exit 0
3836
else
3937
echo "skip-tests=false" >> $GITHUB_OUTPUT
4038
fi
41-
4239
# # Check for run-bittensor-cli-tests label
4340
# if echo "$labels" | jq -e 'any(. == "run-bittensor-cli-tests")' > /dev/null; then
4441
# echo "::set-output name=run-cli-tests::true"
4542
# else
4643
# echo "::set-output name=run-cli-tests::false"
4744
# fi
48-
4945
# Check for run-bittensor-sdk-tests label
5046
if echo "$labels" | jq -e 'any(. == "run-bittensor-sdk-tests")' > /dev/null; then
5147
echo "run-sdk-tests=true" >> $GITHUB_OUTPUT
5248
else
5349
echo "run-sdk-tests=false" >> $GITHUB_OUTPUT
5450
fi
55-
5651
# # Fail if neither cli nor sdk tests are specified
5752
# if ! echo "$labels" | jq -e 'any(. == "run-bittensor-cli-tests", . == "run-bittensor-sdk-tests")' > /dev/null; then
5853
# 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

Comments
 (0)