From 81ab1ff0041ca821111b6098c282f5192c612e24 Mon Sep 17 00:00:00 2001 From: Iman Date: Sat, 15 Jun 2024 13:38:35 +0330 Subject: [PATCH] Update code_coverage.yml --- .github/workflows/code_coverage.yml | 6 +++--- .github/workflows/imports.yml | 4 ++-- .github/workflows/tests.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml index 45ae243..ee86cd3 100644 --- a/.github/workflows/code_coverage.yml +++ b/.github/workflows/code_coverage.yml @@ -3,9 +3,9 @@ name: Code Coverage # Controls when the workflow will run on: push: - branches: [master] + branches: [ "main" ] pull_request: - branches: [master] + branches: [ "main" ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -40,7 +40,7 @@ jobs: - name: PHPUnit run: | - ./vendor/bin/phpunit --stop-on-failure --coverage-clover ./clover.xml -c ./phpunit_conf/coverage.xml.dist + ./vendor/bin/phpunit --stop-on-failure --coverage-clover ./clover.xml env: XDEBUG_MODE: coverage diff --git a/.github/workflows/imports.yml b/.github/workflows/imports.yml index b89c8ea..c9406c6 100644 --- a/.github/workflows/imports.yml +++ b/.github/workflows/imports.yml @@ -2,9 +2,9 @@ name: Check Imports on: push: - branches: [ "master" ] + branches: [ "main" ] pull_request: - branches: [ "master" ] + branches: [ "main" ] permissions: contents: read diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index eebc553..9eb7574 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,7 +3,7 @@ name: tests # Controls when the workflow will run on: pull_request: - branches: [ main ] + branches: [ "main" ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: