File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ name: Test
1111
1212on :
1313 push :
14+ workflow_dispatch :
1415 paths-ignore :
1516 - ' .github/ISSUE_TEMPLATE/*'
1617 - ' .github/generated-files/*'
Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /usr/ bin/env bash
22# check_os.sh
33
44# shellcheck disable=SC2034
@@ -1040,7 +1040,7 @@ function console_results::print_execution_time() {
10401040 return
10411041 fi
10421042
1043- local time=$( printf " %.0f" " $( clock::total_runtime_in_milliseconds ) " )
1043+ local time=$( clock::total_runtime_in_milliseconds | awk ' { printf "%.0f", $1} ' )
10441044
10451045 if [[ " $time " -lt 1000 ]]; then
10461046 printf " ${_COLOR_BOLD} %s${_COLOR_DEFAULT} \n" \
@@ -1050,7 +1050,7 @@ function console_results::print_execution_time() {
10501050
10511051 local time_in_seconds=$(( time / 1000 ))
10521052 local remainder_ms=$(( time % 1000 ))
1053- local formatted_seconds=$( printf " %.2f " " $time_in_seconds .$remainder_ms " )
1053+ local formatted_seconds=$( echo " $time_in_seconds .$remainder_ms " | awk ' {printf "%.0f", $1} ' )
10541054
10551055 printf " ${_COLOR_BOLD} %s${_COLOR_DEFAULT} \n" \
10561056 " Time taken: $formatted_seconds s"
@@ -3161,11 +3161,11 @@ function main::handle_assert_exit_code() {
31613161 fi
31623162}
31633163
3164- #! /bin/bash
3164+ #! /usr/ bin/env bash
31653165set -euo pipefail
31663166
31673167# shellcheck disable=SC2034
3168- declare -r BASHUNIT_VERSION=" 0.19.0 "
3168+ declare -r BASHUNIT_VERSION=" 0.19.1 "
31693169
31703170# shellcheck disable=SC2155
31713171declare -r BASHUNIT_ROOT_DIR=" $( dirname " ${BASH_SOURCE[0]} " ) "
You can’t perform that action at this time.
0 commit comments