File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -583,20 +583,21 @@ jobs:
583583 - name : Set Github environment variables
584584 shell : bash -l {0}
585585 run : |
586+ export PACKAGE_VERSION=$(python -c "${VER_SCRIPT1} ${VER_SCRIPT2}")
586587 FILE=/home/runner/work/.report.json
587588 if test -f "$FILE"; then
588589 PASSED_TESTS=$(jq '.summary | .passed // 0' $FILE)
589590 FAILED_TESTS=$(jq '.summary | .failed // 0' $FILE)
590591 SKIPPED_TESTS=$(jq '.summary | .skipped // 0' $FILE)
591- MESSAGE="Array API standard conformance tests ran successfully.
592+ MESSAGE="Array API standard conformance tests for dpctl=$PACKAGE_VERSION ran successfully.
592593 Passed: $PASSED_TESTS
593594 Failed: $FAILED_TESTS
594595 Skipped: $SKIPPED_TESTS"
595596 echo "MESSAGE<<EOF" >> $GITHUB_ENV
596597 echo "$MESSAGE" >> $GITHUB_ENV
597598 echo "EOF" >> $GITHUB_ENV
598599 else
599- MESSAGE=$' Array API standard conformance tests failed to run.'
600+ MESSAGE=" Array API standard conformance tests failed to run for dpctl=$PACKAGE_VERSION."
600601 echo "MESSAGE=$MESSAGE" >> $GITHUB_ENV
601602 fi
602603 - name : Post result to PR
You can’t perform that action at this time.
0 commit comments