Skip to content

Commit

Permalink
Update code_coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
imanghafoori1 committed Jun 15, 2024
1 parent fc25855 commit 81ab1ff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/imports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Check Imports

on:
push:
branches: [ "master" ]
branches: [ "main" ]
pull_request:
branches: [ "master" ]
branches: [ "main" ]

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 81ab1ff

Please sign in to comment.