diff --git a/.github/workflows/shared_workflow.yml b/.github/workflows/shared_workflow.yml index fc79cad97..12722e8e7 100644 --- a/.github/workflows/shared_workflow.yml +++ b/.github/workflows/shared_workflow.yml @@ -111,10 +111,10 @@ jobs: ./occ a:e integration_openproject cd apps/integration_openproject # The following if block can be removed once Nextcloud no longer supports PHP 8.0 - if [ "${{matrix.phpVersion}}" -eq 8 ]; then - make phpunitforphp8.0 + if [ "${{ matrix.phpVersion }}" -eq 8 ]; then + make phpunitforphp8.0 || (echo "A few of the unit tests were unsuccessful. Rerunning the unit test once again......" && make phpunitforphp8.0) else - make phpunit + make phpunit || (echo "A few of the unit tests were unsuccessful. Rerunning the unit test once again......" && make phpunit) fi make jsunit