[Rt-commit] rt branch 5.0/github-actions-bugfixes updated. rt-5.0.2-57-g37bb861c70

BPS Git Server git at git.bestpractical.com
Fri Dec 17 20:01:30 UTC 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/github-actions-bugfixes has been updated
       via  37bb861c701f09a50bbf280ef14dff61b1521637 (commit)
      from  b80a1d5e49f44b4d966f68785730f5f345911e7f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 37bb861c701f09a50bbf280ef14dff61b1521637
Author: Brett Smith <brett at bestpractical.com>
Date:   Fri Dec 17 15:00:51 2021 -0500

    Run GitHub actions prove command with -r
    
    We want to recurse all through the test directory, not just one level.

diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
index fd2494f4d1..b55ab03b7d 100644
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
@@ -23,7 +23,7 @@ jobs:
           docker exec rt bash -c "cd /rt && ./configure.ac --with-db-type=SQLite --with-my-user-group --enable-layout=inplace --enable-developer --enable-externalauth --enable-gpg --enable-smime && mkdir -p /rt/var && make testdeps"
       - name: Run RT tests
         shell: bash
-        run: docker exec rt bash -c "cd /rt && prove -lj6 t/*"
+        run: docker exec rt bash -c "cd /rt && prove -lrj6 t"
       - name: Get run time
         if: always()
         shell: bash
@@ -70,7 +70,7 @@ jobs:
           docker exec rt bash -c 'cd /rt && ./configure.ac --with-db-type=mysql --with-my-user-group --enable-layout=inplace --enable-developer --enable-externalauth --enable-gpg --enable-smime && mkdir -p /rt/var && make testdeps'
       - name: Run RT tests
         shell: bash
-        run: docker exec rt bash -c "cd /rt && prove -lj6 t/*"
+        run: docker exec rt bash -c "cd /rt && prove -lrj6 t"
       - name: Get run time
         if: always()
         shell: bash
@@ -118,7 +118,7 @@ jobs:
           docker exec -e USER=rt-user -u rt-user rt bash -c "cd /rt && ./configure.ac --with-db-type=Pg --with-my-user-group --enable-layout=inplace --with-web-handler=fcgid --enable-developer --enable-externalauth --enable-gpg --enable-smime && mkdir -p /rt/var && make testdeps && chmod a+rX /rt/sbin/*"
       - name: Run RT tests
         shell: bash
-        run: docker exec -e RT_DBA_USER=postgres -u rt-user rt bash -c "cd /rt && prove -lj6 t/*"
+        run: docker exec -e RT_DBA_USER=postgres -u rt-user rt bash -c "cd /rt && prove -lrj6 t"
       - name: Get run time
         if: always()
         shell: bash

-----------------------------------------------------------------------

Summary of changes:
 .github/workflows/github-action.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list