mirror of
https://github.com/yiisoft/yii2.git
synced 2026-02-19 16:21:52 +01:00
Update ci workflows to ignore specific paths for pull requests, push, and exclude directory framework/messages to coverage. (#20563)
This commit is contained in:
32
.github/workflows/build.yml
vendored
32
.github/workflows/build.yml
vendored
@@ -6,8 +6,36 @@ permissions:
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
pull_request: &ignore-paths
|
||||
paths-ignore:
|
||||
- ".appveyor.yml"
|
||||
- ".codeclimate.yml"
|
||||
- ".dockerignore"
|
||||
- ".editorconfig"
|
||||
- ".eslintignore"
|
||||
- ".eslintrc"
|
||||
- ".git-blame-ignore-revs"
|
||||
- ".gitattributes"
|
||||
- ".github/CONTRIBUTING.md"
|
||||
- ".github/FUNDING.yml"
|
||||
- ".github/ISSUE_TEMPLATE.md"
|
||||
- ".github/PULL_REQUEST_TEMPLATE.md"
|
||||
- ".github/SECURITY.md"
|
||||
- ".gitignore"
|
||||
- ".gitlab-ci.yml"
|
||||
- "code-of-conduct.md"
|
||||
- "docs/**"
|
||||
- "framework/.gitignore"
|
||||
- "framework/.phpstorm.meta.php"
|
||||
- "framework/CHANGELOG.md"
|
||||
- "framework/LICENSE.md"
|
||||
- "framework/README.md"
|
||||
- "framework/UPGRADE.md"
|
||||
- "LICENSE.md"
|
||||
- "README.md"
|
||||
- "ROADMAP.md"
|
||||
|
||||
push: *ignore-paths
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
32
.github/workflows/ci-mariadb.yml
vendored
32
.github/workflows/ci-mariadb.yml
vendored
@@ -6,8 +6,36 @@ permissions:
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
pull_request: &ignore-paths
|
||||
paths-ignore:
|
||||
- ".appveyor.yml"
|
||||
- ".codeclimate.yml"
|
||||
- ".dockerignore"
|
||||
- ".editorconfig"
|
||||
- ".eslintignore"
|
||||
- ".eslintrc"
|
||||
- ".git-blame-ignore-revs"
|
||||
- ".gitattributes"
|
||||
- ".github/CONTRIBUTING.md"
|
||||
- ".github/FUNDING.yml"
|
||||
- ".github/ISSUE_TEMPLATE.md"
|
||||
- ".github/PULL_REQUEST_TEMPLATE.md"
|
||||
- ".github/SECURITY.md"
|
||||
- ".gitignore"
|
||||
- ".gitlabs-ci.yml"
|
||||
- "code-of-conduct.md"
|
||||
- "docs/**"
|
||||
- "framework/.gitignore"
|
||||
- "framework/.phpstorm.meta.php"
|
||||
- "framework/CHANGELOG.md"
|
||||
- "framework/LICENSE.md"
|
||||
- "framework/README.md"
|
||||
- "framework/UPGRADE.md"
|
||||
- "LICENSE.md"
|
||||
- "README.md"
|
||||
- "ROADMAP.md"
|
||||
|
||||
push: *ignore-paths
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
32
.github/workflows/ci-mssql.yml
vendored
32
.github/workflows/ci-mssql.yml
vendored
@@ -6,8 +6,36 @@ permissions:
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
pull_request: &ignore-paths
|
||||
paths-ignore:
|
||||
- ".appveyor.yml"
|
||||
- ".codeclimate.yml"
|
||||
- ".dockerignore"
|
||||
- ".editorconfig"
|
||||
- ".eslintignore"
|
||||
- ".eslintrc"
|
||||
- ".git-blame-ignore-revs"
|
||||
- ".gitattributes"
|
||||
- ".github/CONTRIBUTING.md"
|
||||
- ".github/FUNDING.yml"
|
||||
- ".github/ISSUE_TEMPLATE.md"
|
||||
- ".github/PULL_REQUEST_TEMPLATE.md"
|
||||
- ".github/SECURITY.md"
|
||||
- ".gitignore"
|
||||
- ".gitlabs-ci.yml"
|
||||
- "code-of-conduct.md"
|
||||
- "docs/**"
|
||||
- "framework/.gitignore"
|
||||
- "framework/.phpstorm.meta.php"
|
||||
- "framework/CHANGELOG.md"
|
||||
- "framework/LICENSE.md"
|
||||
- "framework/README.md"
|
||||
- "framework/UPGRADE.md"
|
||||
- "LICENSE.md"
|
||||
- "README.md"
|
||||
- "ROADMAP.md"
|
||||
|
||||
push: *ignore-paths
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
32
.github/workflows/ci-mysql.yml
vendored
32
.github/workflows/ci-mysql.yml
vendored
@@ -6,8 +6,36 @@ permissions:
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
pull_request: &ignore-paths
|
||||
paths-ignore:
|
||||
- ".appveyor.yml"
|
||||
- ".codeclimate.yml"
|
||||
- ".dockerignore"
|
||||
- ".editorconfig"
|
||||
- ".eslintignore"
|
||||
- ".eslintrc"
|
||||
- ".git-blame-ignore-revs"
|
||||
- ".gitattributes"
|
||||
- ".github/CONTRIBUTING.md"
|
||||
- ".github/FUNDING.yml"
|
||||
- ".github/ISSUE_TEMPLATE.md"
|
||||
- ".github/PULL_REQUEST_TEMPLATE.md"
|
||||
- ".github/SECURITY.md"
|
||||
- ".gitignore"
|
||||
- ".gitlabs-ci.yml"
|
||||
- "code-of-conduct.md"
|
||||
- "docs/**"
|
||||
- "framework/.gitignore"
|
||||
- "framework/.phpstorm.meta.php"
|
||||
- "framework/CHANGELOG.md"
|
||||
- "framework/LICENSE.md"
|
||||
- "framework/README.md"
|
||||
- "framework/UPGRADE.md"
|
||||
- "LICENSE.md"
|
||||
- "README.md"
|
||||
- "ROADMAP.md"
|
||||
|
||||
push: *ignore-paths
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
32
.github/workflows/ci-node.yml
vendored
32
.github/workflows/ci-node.yml
vendored
@@ -1,6 +1,36 @@
|
||||
name: build-node
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
pull_request: &ignore-paths
|
||||
paths-ignore:
|
||||
- ".appveyor.yml"
|
||||
- ".codeclimate.yml"
|
||||
- ".dockerignore"
|
||||
- ".editorconfig"
|
||||
- ".eslintignore"
|
||||
- ".eslintrc"
|
||||
- ".git-blame-ignore-revs"
|
||||
- ".gitattributes"
|
||||
- ".github/CONTRIBUTING.md"
|
||||
- ".github/FUNDING.yml"
|
||||
- ".github/ISSUE_TEMPLATE.md"
|
||||
- ".github/PULL_REQUEST_TEMPLATE.md"
|
||||
- ".github/SECURITY.md"
|
||||
- ".gitignore"
|
||||
- ".gitlabs-ci.yml"
|
||||
- "code-of-conduct.md"
|
||||
- "docs/**"
|
||||
- "framework/.gitignore"
|
||||
- "framework/.phpstorm.meta.php"
|
||||
- "framework/CHANGELOG.md"
|
||||
- "framework/LICENSE.md"
|
||||
- "framework/README.md"
|
||||
- "framework/UPGRADE.md"
|
||||
- "LICENSE.md"
|
||||
- "README.md"
|
||||
- "ROADMAP.md"
|
||||
|
||||
push: *ignore-paths
|
||||
|
||||
env:
|
||||
DEFAULT_COMPOSER_FLAGS: "--prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi"
|
||||
|
||||
32
.github/workflows/ci-oracle.yml
vendored
32
.github/workflows/ci-oracle.yml
vendored
@@ -6,8 +6,36 @@ permissions:
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
pull_request: &ignore-paths
|
||||
paths-ignore:
|
||||
- ".appveyor.yml"
|
||||
- ".codeclimate.yml"
|
||||
- ".dockerignore"
|
||||
- ".editorconfig"
|
||||
- ".eslintignore"
|
||||
- ".eslintrc"
|
||||
- ".git-blame-ignore-revs"
|
||||
- ".gitattributes"
|
||||
- ".github/CONTRIBUTING.md"
|
||||
- ".github/FUNDING.yml"
|
||||
- ".github/ISSUE_TEMPLATE.md"
|
||||
- ".github/PULL_REQUEST_TEMPLATE.md"
|
||||
- ".github/SECURITY.md"
|
||||
- ".gitignore"
|
||||
- ".gitlabs-ci.yml"
|
||||
- "code-of-conduct.md"
|
||||
- "docs/**"
|
||||
- "framework/.gitignore"
|
||||
- "framework/.phpstorm.meta.php"
|
||||
- "framework/CHANGELOG.md"
|
||||
- "framework/LICENSE.md"
|
||||
- "framework/README.md"
|
||||
- "framework/UPGRADE.md"
|
||||
- "LICENSE.md"
|
||||
- "README.md"
|
||||
- "ROADMAP.md"
|
||||
|
||||
push: *ignore-paths
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
32
.github/workflows/ci-pgsql.yml
vendored
32
.github/workflows/ci-pgsql.yml
vendored
@@ -6,8 +6,36 @@ permissions:
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
pull_request: &ignore-paths
|
||||
paths-ignore:
|
||||
- ".appveyor.yml"
|
||||
- ".codeclimate.yml"
|
||||
- ".dockerignore"
|
||||
- ".editorconfig"
|
||||
- ".eslintignore"
|
||||
- ".eslintrc"
|
||||
- ".git-blame-ignore-revs"
|
||||
- ".gitattributes"
|
||||
- ".github/CONTRIBUTING.md"
|
||||
- ".github/FUNDING.yml"
|
||||
- ".github/ISSUE_TEMPLATE.md"
|
||||
- ".github/PULL_REQUEST_TEMPLATE.md"
|
||||
- ".github/SECURITY.md"
|
||||
- ".gitignore"
|
||||
- ".gitlabs-ci.yml"
|
||||
- "code-of-conduct.md"
|
||||
- "docs/**"
|
||||
- "framework/.gitignore"
|
||||
- "framework/.phpstorm.meta.php"
|
||||
- "framework/CHANGELOG.md"
|
||||
- "framework/LICENSE.md"
|
||||
- "framework/README.md"
|
||||
- "framework/UPGRADE.md"
|
||||
- "LICENSE.md"
|
||||
- "README.md"
|
||||
- "ROADMAP.md"
|
||||
|
||||
push: *ignore-paths
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
32
.github/workflows/ci-sqlite.yml
vendored
32
.github/workflows/ci-sqlite.yml
vendored
@@ -6,8 +6,36 @@ permissions:
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
pull_request: &ignore-paths
|
||||
paths-ignore:
|
||||
- ".appveyor.yml"
|
||||
- ".codeclimate.yml"
|
||||
- ".dockerignore"
|
||||
- ".editorconfig"
|
||||
- ".eslintignore"
|
||||
- ".eslintrc"
|
||||
- ".git-blame-ignore-revs"
|
||||
- ".gitattributes"
|
||||
- ".github/CONTRIBUTING.md"
|
||||
- ".github/FUNDING.yml"
|
||||
- ".github/ISSUE_TEMPLATE.md"
|
||||
- ".github/PULL_REQUEST_TEMPLATE.md"
|
||||
- ".github/SECURITY.md"
|
||||
- ".gitignore"
|
||||
- ".gitlabs-ci.yml"
|
||||
- "code-of-conduct.md"
|
||||
- "docs/**"
|
||||
- "framework/.gitignore"
|
||||
- "framework/.phpstorm.meta.php"
|
||||
- "framework/CHANGELOG.md"
|
||||
- "framework/LICENSE.md"
|
||||
- "framework/README.md"
|
||||
- "framework/UPGRADE.md"
|
||||
- "LICENSE.md"
|
||||
- "README.md"
|
||||
- "ROADMAP.md"
|
||||
|
||||
push: *ignore-paths
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
32
.github/workflows/lint.yaml
vendored
32
.github/workflows/lint.yaml
vendored
@@ -6,8 +6,36 @@ permissions:
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
pull_request: &ignore-paths
|
||||
paths-ignore:
|
||||
- ".appveyor.yml"
|
||||
- ".codeclimate.yml"
|
||||
- ".dockerignore"
|
||||
- ".editorconfig"
|
||||
- ".eslintignore"
|
||||
- ".eslintrc"
|
||||
- ".git-blame-ignore-revs"
|
||||
- ".gitattributes"
|
||||
- ".github/CONTRIBUTING.md"
|
||||
- ".github/FUNDING.yml"
|
||||
- ".github/ISSUE_TEMPLATE.md"
|
||||
- ".github/PULL_REQUEST_TEMPLATE.md"
|
||||
- ".github/SECURITY.md"
|
||||
- ".gitignore"
|
||||
- ".gitlabs-ci.yml"
|
||||
- "code-of-conduct.md"
|
||||
- "docs/**"
|
||||
- "framework/.gitignore"
|
||||
- "framework/.phpstorm.meta.php"
|
||||
- "framework/CHANGELOG.md"
|
||||
- "framework/LICENSE.md"
|
||||
- "framework/README.md"
|
||||
- "framework/UPGRADE.md"
|
||||
- "LICENSE.md"
|
||||
- "README.md"
|
||||
- "ROADMAP.md"
|
||||
|
||||
push: *ignore-paths
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
32
.github/workflows/static.yml
vendored
32
.github/workflows/static.yml
vendored
@@ -6,8 +6,36 @@ permissions:
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
pull_request: &ignore-paths
|
||||
paths-ignore:
|
||||
- ".appveyor.yml"
|
||||
- ".codeclimate.yml"
|
||||
- ".dockerignore"
|
||||
- ".editorconfig"
|
||||
- ".eslintignore"
|
||||
- ".eslintrc"
|
||||
- ".git-blame-ignore-revs"
|
||||
- ".gitattributes"
|
||||
- ".github/CONTRIBUTING.md"
|
||||
- ".github/FUNDING.yml"
|
||||
- ".github/ISSUE_TEMPLATE.md"
|
||||
- ".github/PULL_REQUEST_TEMPLATE.md"
|
||||
- ".github/SECURITY.md"
|
||||
- ".gitignore"
|
||||
- ".gitlabs-ci.yml"
|
||||
- "code-of-conduct.md"
|
||||
- "docs/**"
|
||||
- "framework/.gitignore"
|
||||
- "framework/.phpstorm.meta.php"
|
||||
- "framework/CHANGELOG.md"
|
||||
- "framework/LICENSE.md"
|
||||
- "framework/README.md"
|
||||
- "framework/UPGRADE.md"
|
||||
- "LICENSE.md"
|
||||
- "README.md"
|
||||
- "ROADMAP.md"
|
||||
|
||||
push: *ignore-paths
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
<file>framework/web/ResponseFormatterInterface.php</file>
|
||||
<directory suffix=".php">framework/bootstrap</directory>
|
||||
<directory suffix="Exception.php">framework/base</directory>
|
||||
<directory suffix=".php">framework/messages</directory>
|
||||
<directory suffix=".php">framework/requirements</directory>
|
||||
</exclude>
|
||||
</coverage>
|
||||
|
||||
Reference in New Issue
Block a user