From b40f8953c7b33a7d967e0c183e3e1fbdbeb6c237 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Sun, 4 Aug 2024 01:47:23 +0800 Subject: [PATCH] Fix workflow files --- .github/workflows/prune-actions-caches.yml | 3 +++ .github/workflows/unit-tests.yml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prune-actions-caches.yml b/.github/workflows/prune-actions-caches.yml index 8d04376..c8c61b3 100644 --- a/.github/workflows/prune-actions-caches.yml +++ b/.github/workflows/prune-actions-caches.yml @@ -10,6 +10,9 @@ jobs: runs-on: ubuntu-24.04 steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Run prune-cache script run: | bin/prune-cache $REPO --pr-branch $BRANCH diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 4ca76f3..2e97541 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -63,10 +63,11 @@ jobs: run: composer update --ansi --no-scripts - name: Run Unit Tests + shell: bash run: | bin/parallel-phpunit ${{ env.COVERAGE_OPTION }} env: - COVERAGE_OPTION: ${{ matrix.os == 'windows-2022' && '' || '--coverage' }} + COVERAGE_OPTION: ${{ matrix.os != 'windows-2022' && '--coverage' || '' }} - name: Display structure of coverage files if: matrix.os != 'windows-2022'