Skip to content

Commit 724a043

Browse files
committed
Display running times at the end of the test suite
1 parent 2695a8e commit 724a043

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/common.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
build-and-test:
8282
env:
8383
QCHECK_MSG_INTERVAL: '60'
84+
TIMELOGDIR: ${{ github.workspace }}
8485
TIMEOUT: ${{ inputs.timeout }}
8586
DUNE_PROFILE: ${{ inputs.dune_profile }}
8687
OCAMLRUNPARAM: ${{ inputs.runparam }}
@@ -208,6 +209,7 @@ jobs:
208209
echo "OPAMJOBS=1" >> $GITHUB_ENV
209210
210211
- name: Install Multicore Tests dependencies
212+
id: dependencies
211213
run: |
212214
opam install . --deps-only --with-test
213215
@@ -277,3 +279,7 @@ jobs:
277279
}
278280
echo "Test failed $failures times"
279281
if: env.ONLY_TEST != '' && runner.os == 'Windows'
282+
283+
- name: Summarize test run times
284+
run: opam exec -- dune build @cat-times
285+
if: "success() || (failure() && steps.dependencies.conclusion == 'success')"

0 commit comments

Comments
 (0)