diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index 982490f6..0265a76d 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -2,7 +2,11 @@ name: Code Coverage Upload on: push: + paths: + - 'src/**' pull_request: + paths: + - 'src/**' schedule: - cron: '0 2 * * *' diff --git a/.github/workflows/pull-request-cs-fixer.yml b/.github/workflows/pull-request-cs-fixer.yml index f962adf3..89d8a1ba 100644 --- a/.github/workflows/pull-request-cs-fixer.yml +++ b/.github/workflows/pull-request-cs-fixer.yml @@ -30,6 +30,5 @@ jobs: with: add: '-A' author_name: StyleCI - author_email: root@imoi.cn message: 'Apply CS Fixer' push: true \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 13fc3d59..1b0a96e7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,10 +2,13 @@ name: PHPUnit for MineAdmin on: push: + paths: + - 'src/**' pull_request: + paths: + - 'src/**' schedule: - cron: '0 2 * * *' - jobs: tests: name: Test on PHP${{ matrix.php-version }} Swoole-${{ matrix.sw-version }}