[Rt-commit] 01/02: Always calculate runtime in GitHub Actions

Brett Smith brett at bestpractical.com
Thu Aug 5 20:22:19 UTC 2021


This is an automated email from the git hooks/post-receive script.

brett pushed a commit to branch 5.0/github-actions-tests
in repository rtir.

commit 8032597690dd929025181f82c92058346092a06c
Author: Brett Smith <brett at bestpractical.com>
AuthorDate: Thu Aug 5 16:20:06 2021 -0400

    Always calculate runtime in GitHub Actions
---
 .github/workflows/github-action.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
index 7d164c43..e4f092f6 100644
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
@@ -21,6 +21,7 @@ jobs:
         run: |
           docker run --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && perl Makefile.PL && make test-parallel'
       - name: Get run time
+        if: always()
         run: |
           RT_GA_END_TIME=$(date +%s)
           RT_GA_TEST_SECS=$(( $RT_GA_END_TIME - ${{ env.RT_GA_START_TIME }} ))
@@ -62,6 +63,7 @@ jobs:
         run: |
           docker run --network rt --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && perl Makefile.PL && make test-parallel'
       - name: Get run time
+        if: always()
         run: |
           RT_GA_END_TIME=$(date +%s)
           RT_GA_TEST_SECS=$(( $RT_GA_END_TIME - ${{ env.RT_GA_START_TIME }} ))
@@ -103,6 +105,7 @@ jobs:
         run: |
           docker run --network rt --volume "$GITHUB_WORKSPACE:/rtir" rtir bash -c 'cd /rtir && perl Makefile.PL && make test-parallel'
       - name: Get run time
+        if: always()
         run: |
           RT_GA_END_TIME=$(date +%s)
           RT_GA_TEST_SECS=$(( $RT_GA_END_TIME - ${{ env.RT_GA_START_TIME }} ))

-- 
To stop receiving notification emails like this one, please contact
sysadmin at bestpractical.com.


More information about the rt-commit mailing list