diff --git a/.github/workflows/main-branch-build.yaml b/.github/workflows/main-branch-build.yaml index 0c46a17..a1e9500 100644 --- a/.github/workflows/main-branch-build.yaml +++ b/.github/workflows/main-branch-build.yaml @@ -199,8 +199,8 @@ jobs: id: coverage working-directory: ./application run: | - current_coverage = $(cat code_coverage.txt) - floor = $(php -r "echo floor($current_coverage) - 1;") + current_coverage=$(cat code_coverage.txt) + floor=$(php -r "echo floor($current_coverage) - 1;") XDEBUG_MODE=coverage php artisan test --coverage --min=$floor | grep -oP 'Total: \K\d+\.\d+' > code_coverage.txt - name: Commit code_coverage.txt