action.yml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491
  1. name: Run build and tests (ya make)
  2. description: Run test targets listed in repository root ya.make (to be created previously)
  3. inputs:
  4. build_target:
  5. required: true
  6. build_preset:
  7. required: true
  8. default: "relwithdebinfo"
  9. description: "relwithdebinfo, release-asan, release-tsan"
  10. test_type:
  11. required: false
  12. type: string
  13. default: ""
  14. description: "run only specific test types (or all by default)"
  15. test_size:
  16. required: false
  17. default: "small,medium,large"
  18. description: "small or small-medium or all"
  19. test_threads:
  20. required: false
  21. default: "56"
  22. description: "Test threads count"
  23. link_threads:
  24. required: false
  25. default: "12"
  26. description: "link threads count"
  27. additional_ya_make_args:
  28. type: string
  29. default: ""
  30. testman_token:
  31. required: false
  32. description: "test manager auth token"
  33. testman_url:
  34. required: false
  35. description: "test manager endpoint"
  36. testman_project_id:
  37. required: false
  38. description: "test manager project id"
  39. put_build_results_to_cache:
  40. required: false
  41. default: "true"
  42. bazel_remote_uri:
  43. required: false
  44. description: "bazel-remote endpoint"
  45. bazel_remote_username:
  46. required: false
  47. description: "bazel-remote username"
  48. bazel_remote_password:
  49. required: false
  50. description: "bazel-remote password"
  51. run_tests:
  52. type: boolean
  53. default: true
  54. description: "run tests"
  55. test_retry_count:
  56. type: string
  57. default: ""
  58. description: "how many times to retry failed tests"
  59. outputs:
  60. success:
  61. value: ${{ steps.build.outputs.status }}
  62. description: "build success"
  63. runs:
  64. using: "composite"
  65. steps:
  66. - name: Init
  67. id: init
  68. shell: bash
  69. run: |
  70. set -x
  71. export TMP_DIR=$(pwd)/tmp
  72. rm -rf $TMP_DIR
  73. mkdir -p $TMP_DIR
  74. echo "TMP_DIR=$TMP_DIR" >> $GITHUB_ENV
  75. # The whole dir will be uploaded to s3 with public (=wild internet) ACL
  76. export PUBLIC_DIR=$TMP_DIR/results
  77. echo "PUBLIC_DIR=$PUBLIC_DIR" >> $GITHUB_ENV
  78. export PUBLIC_DIR_URL=$S3_URL_PREFIX
  79. echo "PUBLIC_DIR_URL=$PUBLIC_DIR_URL" >> $GITHUB_ENV
  80. mkdir -p $PUBLIC_DIR
  81. echo "LAST_JUNIT_REPORT_XML=$PUBLIC_DIR/last_junit.xml" >> $GITHUB_ENV
  82. export TESTMO_URL=${{ inputs.testman_url }}
  83. echo "TESTMO_URL=$TESTMO_URL" >> $GITHUB_ENV
  84. echo "SUMMARY_LINKS=$PUBLIC_DIR/summary_links.txt" >> $GITHUB_ENV
  85. echo "BUILD_PRESET=${{ inputs.build_preset }}" >> $GITHUB_ENV
  86. python3 -m pip install ydb ydb[yc] codeowners
  87. if [ ${{ inputs.testman_token }} ]; then
  88. TESTMO_PROXY_ADDR=127.0.0.1:8888
  89. openssl req -x509 -newkey rsa:2048 \
  90. -keyout $TMP_DIR/key.pem -out $TMP_DIR/cert.pem \
  91. -sha256 -days 1 -nodes -subj "/CN=127.0.0.1"
  92. TESTMO_TOKEN=${{ inputs.testman_token }} ./ydb/ci/testmo-proxy/testmo-proxy.py -l $TESTMO_PROXY_ADDR \
  93. --cert-file "$TMP_DIR/cert.pem" \
  94. --cert-key "$TMP_DIR/key.pem" \
  95. --target-timeout 3,60 \
  96. --max-request-time 200 \
  97. "$TESTMO_URL" > $PUBLIC_DIR/testmo_proxy.log 2>&1 &
  98. TESTMO_PROXY_PID=$!
  99. echo "TESTMO_PROXY_ADDR=$TESTMO_PROXY_ADDR" >> $GITHUB_ENV
  100. echo "TESTMO_PROXY_PID=$TESTMO_PROXY_PID" >> $GITHUB_ENV
  101. # testmo rejects self-signed cert without this setting
  102. echo "NODE_TLS_REJECT_UNAUTHORIZED=0" >> $GITHUB_ENV
  103. fi
  104. - name: ya build and test
  105. id: build
  106. shell: bash
  107. run: |
  108. set -x
  109. readarray -d ',' -t test_size < <(printf "%s" "${{ inputs.test_size }}")
  110. readarray -d ',' -t test_type < <(printf "%s" "${{ inputs.test_type }}")
  111. params=(
  112. -T
  113. ${test_size[@]/#/--test-size=} ${test_type[@]/#/--test-type=}
  114. --stat
  115. --test-threads "${{ inputs.test_threads }}" --link-threads "${{ inputs.link_threads }}"
  116. -DUSE_EAT_MY_DATA
  117. )
  118. TEST_RETRY_COUNT=${{ inputs.test_retry_count }}
  119. case "$BUILD_PRESET" in
  120. debug)
  121. params+=(--build "debug")
  122. ;;
  123. relwithdebinfo)
  124. params+=(--build "relwithdebinfo")
  125. ;;
  126. release)
  127. params+=(--build "release")
  128. ;;
  129. release-clang14)
  130. params+=(--build "release")
  131. params+=(--target-platform="CLANG14-LINUX-X86_64")
  132. params+=(-DLLD_VERSION=16)
  133. params+=(-DSTRIP)
  134. ;;
  135. release-asan)
  136. params+=(
  137. --build "release" --sanitize="address"
  138. -DDEBUGINFO_LINES_ONLY
  139. )
  140. if [ $TEST_RETRY_COUNT -z ]; then
  141. TEST_RETRY_COUNT=1
  142. fi
  143. ;;
  144. release-tsan)
  145. params+=(
  146. --build "release" --sanitize="thread"
  147. -DDEBUGINFO_LINES_ONLY
  148. )
  149. if [ $TEST_RETRY_COUNT -z ]; then
  150. TEST_RETRY_COUNT=1
  151. fi
  152. ;;
  153. release-msan)
  154. params+=(
  155. --build "release" --sanitize="memory"
  156. -DDEBUGINFO_LINES_ONLY
  157. )
  158. if [ $TEST_RETRY_COUNT -z ]; then
  159. TEST_RETRY_COUNT=1
  160. fi
  161. ;;
  162. *)
  163. echo "Invalid preset: $BUILD_PRESET"
  164. exit 1
  165. ;;
  166. esac
  167. if [ $TEST_RETRY_COUNT -z ]; then
  168. # default is 3 for ordinary build and 1 for sanitizer builds
  169. TEST_RETRY_COUNT=3
  170. fi
  171. if [ ! -z "${{ inputs.additional_ya_make_args }}" ]; then
  172. params+=(${{ inputs.additional_ya_make_args }})
  173. fi
  174. if [ ! -z "${{ inputs.bazel_remote_uri }}" ]; then
  175. params+=(--bazel-remote-store)
  176. params+=(--bazel-remote-base-uri "${{ inputs.bazel_remote_uri }}")
  177. fi
  178. if [ "${{ inputs.put_build_results_to_cache }}" = "true" ]; then
  179. params+=(--bazel-remote-username "${{ inputs.bazel_remote_username }}")
  180. params+=(--bazel-remote-password "${{ inputs.bazel_remote_password }}")
  181. params+=(--bazel-remote-put --dist-cache-max-file-size=209715200)
  182. fi
  183. if [ true = ${{ inputs.run_tests }} ]; then
  184. params+=(-A)
  185. params+=(--retest)
  186. fi
  187. params+=(
  188. --stat -DCONSISTENT_DEBUG --no-dir-outputs
  189. --test-failure-code 0 --build-all
  190. --cache-size 2TB --force-build-depends
  191. )
  192. TESTMO_BRANCH_TAG="$GITHUB_REF_NAME"
  193. TESTMO_ARCH="${{ runner.arch == 'X64' && 'x86-64' || runner.arch == 'ARM64' && 'arm64' || 'unknown' }}"
  194. TESTMO_PR_NUMBER=${{ github.event.number }}
  195. case "$BUILD_PRESET" in
  196. relwithdebinfo)
  197. TESTMO_SOURCE="ya-${TESTMO_ARCH}"
  198. ;;
  199. debug)
  200. TESTMO_SOURCE="ya-${TESTMO_ARCH}-debug"
  201. ;;
  202. release-*)
  203. TESTMO_SOURCE="ya-${TESTMO_ARCH}-${BUILD_PRESET/release-/}"
  204. ;;
  205. *)
  206. echo "Invalid preset: $BUILD_PRESET"
  207. exit 1
  208. ;;
  209. esac
  210. echo "::debug::get version"
  211. ./ya --version
  212. YA_MAKE_OUT_DIR=$TMP_DIR/out
  213. YA_MAKE_OUTPUT="$PUBLIC_DIR/ya_make_output.log"
  214. YA_MAKE_OUTPUT_URL="$PUBLIC_DIR_URL/ya_make_output.log"
  215. echo "20 [Ya make output]($YA_MAKE_OUTPUT_URL)" >> $SUMMARY_LINKS
  216. echo "YA_MAKE_OUTPUT_URL=$YA_MAKE_OUTPUT_URL" >> $GITHUB_ENV
  217. BUILD_FAILED=0
  218. for RETRY in $(seq 1 $TEST_RETRY_COUNT)
  219. do
  220. case $GITHUB_EVENT_NAME in
  221. workflow_dispatch)
  222. TESTMO_RUN_NAME="${{ github.run_id }} manual"
  223. TESTMO_EXTRA_TAG="manual"
  224. ;;
  225. pull_request | pull_request_target)
  226. TESTMO_RUN_NAME="${{ github.run_id }} PR #${TESTMO_PR_NUMBER}"
  227. TESTMO_EXTRA_TAG="pr"
  228. TESTMO_BRANCH_TAG=""
  229. ;;
  230. schedule)
  231. TESTMO_RUN_NAME="${{ github.run_id }} schedule"
  232. TESTMO_EXTRA_TAG="schedule"
  233. ;;
  234. push)
  235. TESTMO_RUN_NAME="${{ github.run_id }} POST"
  236. TESTMO_EXTRA_TAG="post-commit"
  237. ;;
  238. *)
  239. TESTMO_RUN_NAME="${{ github.run_id }}"
  240. TESTMO_EXTRA_TAG=""
  241. ;;
  242. esac
  243. echo "TESTMO_RUN_NAME=$TESTMO_RUN_NAME" >> $GITHUB_ENV
  244. if [ $RETRY != 1 ]; then
  245. IS_RETRY=1
  246. TESTMO_RUN_NAME="$TESTMO_RUN_NAME A$RETRY"
  247. else
  248. IS_RETRY=0
  249. fi
  250. CURRENT_PUBLIC_DIR_RELATIVE=try_$RETRY
  251. CURRENT_PUBLIC_DIR=$PUBLIC_DIR/$CURRENT_PUBLIC_DIR_RELATIVE
  252. mkdir $CURRENT_PUBLIC_DIR
  253. if [ ${{ inputs.testman_token }} ]; then
  254. # inititalize testmo session
  255. TESTMO_RUN_URL="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
  256. TESTMO_TOKEN=${{ inputs.testman_token }} testmo automation:resources:add-link --name build --url "$TESTMO_RUN_URL" --resources $CURRENT_PUBLIC_DIR/testmo.json
  257. TESTMO_TOKEN=${{ inputs.testman_token }} testmo automation:resources:add-field --name git-sha --type string --value "${GITHUB_SHA:0:7}" --resources $CURRENT_PUBLIC_DIR/testmo.json
  258. TESTMO_RUN_ID=$(
  259. TESTMO_TOKEN=${{ inputs.testman_token }} testmo automation:run:create --instance "https://$TESTMO_PROXY_ADDR" --project-id ${{ inputs.testman_project_id }} \
  260. --name "$TESTMO_RUN_NAME" --source "$TESTMO_SOURCE" --resources $CURRENT_PUBLIC_DIR/testmo.json \
  261. --tags "$TESTMO_BRANCH_TAG" --tags "$TESTMO_EXTRA_TAG"
  262. )
  263. echo "runid=${TESTMO_RUN_ID}" >> $GITHUB_OUTPUT
  264. TESTMO_HISTORY_URL="${TESTMO_URL}/automation/runs/view/${TESTMO_RUN_ID}"
  265. # Replace test history link
  266. cat $SUMMARY_LINKS | (grep -v "Test history" || true) > $TMP_DIR/tmp_summary
  267. mv $TMP_DIR/tmp_summary $SUMMARY_LINKS
  268. echo "10 [Test history](${TESTMO_HISTORY_URL})" >> $SUMMARY_LINKS
  269. fi
  270. CURRENT_MESSAGE="ya make is running..."
  271. if [ $IS_RETRY = 0 ]; then
  272. CURRENT_MESSAGE="$CURRENT_MESSAGE"
  273. RERUN_FAILED_OPT=""
  274. else
  275. CURRENT_MESSAGE="$CURRENT_MESSAGE (failed tests rerun, try $RETRY)"
  276. RERUN_FAILED_OPT="-X"
  277. fi
  278. echo $CURRENT_MESSAGE | GITHUB_TOKEN="${{ github.token }}" .github/scripts/tests/comment-pr.py
  279. CURRENT_JUNIT_XML_PATH=$CURRENT_PUBLIC_DIR/junit.xml
  280. set +ex
  281. (./ya make ${{ inputs.build_target }} "${params[@]}" \
  282. $RERUN_FAILED_OPT --log-file "$PUBLIC_DIR/ya_log.log" \
  283. --evlog-file "$CURRENT_PUBLIC_DIR/ya_evlog.jsonl" \
  284. --junit "$CURRENT_JUNIT_XML_PATH" --output "$YA_MAKE_OUT_DIR"; echo $? > exit_code) |& cat >> $YA_MAKE_OUTPUT
  285. set -ex
  286. RC=`cat exit_code`
  287. # convert to chromium trace
  288. # seems analyze-make don't have simple "output" parameter, so change cwd
  289. ya_dir=$(pwd)
  290. (cd $CURRENT_PUBLIC_DIR && $ya_dir/ya analyze-make timeline --evlog ya_evlog.jsonl)
  291. if [ $RC -ne 0 ]; then
  292. echo "ya make returned $RC, build failed"
  293. echo "status=failed" >> $GITHUB_OUTPUT
  294. BUILD_FAILED=1
  295. break
  296. fi
  297. # fix junit files (add links, logs etc)
  298. # archive unitest reports (orig)
  299. gzip -c $CURRENT_JUNIT_XML_PATH > $CURRENT_PUBLIC_DIR/orig_junit.xml.gz
  300. # postprocess junit report
  301. .github/scripts/tests/transform-ya-junit.py -i \
  302. -m .github/config/muted_ya.txt \
  303. --ya_out "$YA_MAKE_OUT_DIR" \
  304. --public_dir "$PUBLIC_DIR" \
  305. --public_dir_url "$PUBLIC_DIR_URL" \
  306. --log_out_dir "$CURRENT_PUBLIC_DIR_RELATIVE/artifacts/logs/" \
  307. --test_stuff_out "$CURRENT_PUBLIC_DIR_RELATIVE/test_artifacts/" \
  308. "$CURRENT_JUNIT_XML_PATH"
  309. cp $CURRENT_JUNIT_XML_PATH $LAST_JUNIT_REPORT_XML
  310. TESTS_RESULT=0
  311. .github/scripts/tests/fail-checker.py "$CURRENT_JUNIT_XML_PATH" --output_path $CURRENT_PUBLIC_DIR/failed_count.txt || TESTS_RESULT=$?
  312. FAILED_TESTS_COUNT=$(cat $CURRENT_PUBLIC_DIR/failed_count.txt)
  313. IS_LAST_RETRY=0
  314. if [ $TESTS_RESULT = 0 ] || [ $RETRY = $TEST_RETRY_COUNT ]; then
  315. IS_LAST_RETRY=1
  316. fi
  317. if [ $FAILED_TESTS_COUNT -gt 500 ]; then
  318. IS_LAST_RETRY=1
  319. TOO_MANY_FAILED="Too many tests failed, NOT going to retry"
  320. echo $TOO_MANY_FAILED | GITHUB_TOKEN="${{ github.token }}" .github/scripts/tests/comment-pr.py --color red
  321. fi
  322. if [ "${{ inputs.run_tests }}" = "true" ]; then
  323. GITHUB_TOKEN=${{ github.token }} .github/scripts/tests/generate-summary.py \
  324. --summary_links "$SUMMARY_LINKS" \
  325. --public_dir "$PUBLIC_DIR" \
  326. --public_dir_url "$PUBLIC_DIR_URL" \
  327. --build_preset "$BUILD_PRESET" \
  328. --status_report_file statusrep.txt \
  329. --is_retry $IS_RETRY \
  330. --is_last_retry $IS_LAST_RETRY \
  331. --comment_color_file summary_color.txt \
  332. --comment_text_file summary_text.txt \
  333. "Tests" $CURRENT_PUBLIC_DIR/ya-test.html "$CURRENT_JUNIT_XML_PATH"
  334. fi
  335. s3cmd sync --follow-symlinks --acl-public --no-progress --stats --no-check-md5 "$PUBLIC_DIR/" "$S3_BUCKET_PATH/"
  336. if [ "${{ inputs.run_tests }}" = "true" ]; then
  337. cat summary_text.txt | GITHUB_TOKEN="${{ github.token }}" .github/scripts/tests/comment-pr.py --color `cat summary_color.txt`
  338. fi
  339. # upload tests results to YDB
  340. ydb_upload_run_name="${TESTMO_RUN_NAME// /"_"}"
  341. result=`.github/scripts/analytics/upload_tests_results.py --test-results-file ${CURRENT_JUNIT_XML_PATH} --run-timestamp $(date +%s) --commit $(git rev-parse HEAD) --build-type ${BUILD_PRESET} --pull $ydb_upload_run_name --job-name "${{ github.workflow }}" --job-id "${{ github.run_id }}" --branch ${GITHUB_REF_NAME}`
  342. if [ ${{ inputs.testman_token }} ]; then
  343. # finish testme session
  344. # split large junit_report
  345. export TESTMO_JUNIT_REPORT_PARTS=$TMP_DIR/try_$RETRY/junit-split
  346. mkdir -p $TESTMO_JUNIT_REPORT_PARTS
  347. .github/scripts/tests/split-junit.py -o "$TESTMO_JUNIT_REPORT_PARTS" "$CURRENT_JUNIT_XML_PATH"
  348. # archive unitest reports (transformed)
  349. tar -C $TESTMO_JUNIT_REPORT_PARTS/.. -czf $PUBLIC_DIR/junit_parts.xml.tar.gz $(basename $TESTMO_JUNIT_REPORT_PARTS)
  350. TESTMO_TOKEN=${{ inputs.testman_token }} testmo automation:run:submit-thread \
  351. --instance "https://$TESTMO_PROXY_ADDR" --run-id "$TESTMO_RUN_ID" \
  352. --results "$TESTMO_JUNIT_REPORT_PARTS/*.xml"
  353. TESTMO_TOKEN=${{ inputs.testman_token }} testmo automation:run:complete --instance "https://$TESTMO_PROXY_ADDR" --run-id $TESTMO_RUN_ID || true
  354. echo "runid=" >> $GITHUB_OUTPUT
  355. fi
  356. if [ $IS_LAST_RETRY = 1 ]; then
  357. break
  358. fi
  359. done;
  360. if [ $BUILD_FAILED = 0 ]; then
  361. echo "status=true" >> $GITHUB_OUTPUT
  362. fi
  363. - name: comment-build-status
  364. if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
  365. shell: bash
  366. env:
  367. GITHUB_TOKEN: ${{ github.token }}
  368. run: |
  369. set -x
  370. if [ "${{ steps.build.outputs.status }}" == "failed" ]; then
  371. curl -L -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{github.token}}" -H "X-GitHub-Api-Version: 2022-11-28" \
  372. https://api.github.com/repos/${{github.repository}}/statuses/${{github.event.pull_request.head.sha}} \
  373. -d '{"state":"failure","description":"The check has been failed","context":"build_${{inputs.build_preset}}"}'
  374. echo "Build failed. see the [logs]($YA_MAKE_OUTPUT_URL)." | .github/scripts/tests/comment-pr.py --color red
  375. else
  376. curl -L -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{github.token}}" -H "X-GitHub-Api-Version: 2022-11-28" \
  377. https://api.github.com/repos/${{github.repository}}/statuses/${{github.event.pull_request.head.sha}} \
  378. -d '{"state":"success","description":"The check has been completed successfully","context":"build_${{inputs.build_preset}}"}'
  379. echo "Build successful." | .github/scripts/tests/comment-pr.py --color green
  380. fi
  381. - name: Clean up unfinished testmo sessions
  382. if: always()
  383. shell: bash
  384. run: |
  385. if [ ${{ steps.build.outputs.runid }} ]; then
  386. TESTMO_TOKEN=${{ inputs.testman_token }} testmo automation:run:complete --instance "https://$TESTMO_PROXY_ADDR" --run-id ${{ steps.build.outputs.runid }} || true
  387. fi
  388. if [ ${{ inputs.testman_token }} ]; then
  389. kill $TESTMO_PROXY_PID
  390. fi
  391. - name: analyze tests results
  392. shell: bash
  393. env:
  394. GITHUB_TOKEN: ${{ github.token }}
  395. run: |
  396. set -x
  397. if [ true = ${{ inputs.run_tests }} ]; then
  398. teststatus=$(cat statusrep.txt)
  399. if [[ $teststatus == "success" ]];then
  400. testmessage="The check has been completed successfully"
  401. else
  402. testmessage="The check has been failed"
  403. fi
  404. curl -L -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{github.token}}" -H "X-GitHub-Api-Version: 2022-11-28" \
  405. https://api.github.com/repos/${{github.repository}}/statuses/${{github.event.pull_request.head.sha}} \
  406. -d '{"state":"'$teststatus'","description":"'"$testmessage"'","context":"test_${{inputs.build_preset}}"}'
  407. if [[ $teststatus != "success" ]];then
  408. echo "status=failed" >> $GITHUB_OUTPUT
  409. fi
  410. fi
  411. - name: check test results
  412. if: inputs.run_tests
  413. shell: bash
  414. run: |
  415. .github/scripts/tests/fail-checker.py "$LAST_JUNIT_REPORT_XML"
  416. - name: sync results to s3 and publish links
  417. if: always()
  418. shell: bash
  419. run: |
  420. set -x
  421. echo "::group::s3-sync"
  422. .github/scripts/Indexer/indexer.py -r "$PUBLIC_DIR/"
  423. echo "00 [Workflow artifacts](${S3_URL_PREFIX}/index.html)" >> $SUMMARY_LINKS
  424. s3cmd sync --follow-symlinks --acl-public --no-progress --stats --no-check-md5 "$PUBLIC_DIR/" "$S3_BUCKET_PATH/"
  425. cat $SUMMARY_LINKS | python3 -c 'import sys; print(" | ".join([v for _, v in sorted([l.strip().split(" ", 1) for l in sys.stdin], key=lambda a: (int(a[0]), a))]))' >> $GITHUB_STEP_SUMMARY
  426. echo "::endgroup::"
  427. - name: show free space
  428. if: always()
  429. shell: bash
  430. run: df -h