Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate tests in CI. #19952

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
name: build
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

push:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

on: [push, pull_request]
name: build

env:
DEFAULT_COMPOSER_FLAGS: "--prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi"
Expand All @@ -13,6 +28,9 @@ concurrency:

jobs:
phpunit:
# This workflow file runs actions for forked repositories, pull requests, and pushes to the master branch.
if: github.event.repository.fork == true || github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/master')

name: PHP ${{ matrix.php }} on ${{ matrix.os }}

runs-on: ${{ matrix.os }}
Expand Down
22 changes: 19 additions & 3 deletions .github/workflows/ci-mssql.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
on:
- pull_request
- push
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

push:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

name: ci-mssql

Expand All @@ -9,7 +22,10 @@ concurrency:
cancel-in-progress: true

jobs:
tests:
ci-mssql:
# This workflow file runs actions for forked repositories, pull requests, and pushes to the master branch.
if: github.event.repository.fork == true || github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/master')

name: PHP ${{ matrix.php }}-mssql-${{ matrix.mssql }}

env:
Expand Down
23 changes: 20 additions & 3 deletions .github/workflows/ci-mysql.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
on:
- pull_request
- push
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

push:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

name: ci-mysql

Expand All @@ -9,8 +22,12 @@ concurrency:
cancel-in-progress: true

jobs:
tests:
ci-mysql:
# This workflow file runs actions for forked repositories, pull requests, and pushes to the master branch.
if: github.event.repository.fork == true || github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/master')

name: PHP ${{ matrix.php }}-mysql-${{ matrix.mysql }}

env:
extensions: curl, intl, pdo, pdo_mysql
XDEBUG_MODE: coverage, develop
Expand Down
24 changes: 21 additions & 3 deletions .github/workflows/ci-node.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
name: build-node
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

push:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

on: [push, pull_request]
name: build-node

env:
DEFAULT_COMPOSER_FLAGS: "--prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi"
Expand All @@ -10,7 +25,10 @@ concurrency:
cancel-in-progress: true

jobs:
test:
ci-node:
# This workflow file runs actions for forked repositories, pull requests, and pushes to the master branch.
if: github.event.repository.fork == true || github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/master')

name: NPM 6 on ubuntu-latest

runs-on: ubuntu-latest
Expand Down
22 changes: 19 additions & 3 deletions .github/workflows/ci-oracle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
on:
- pull_request
- push
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

push:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

name: ci-oracle

Expand All @@ -9,7 +22,10 @@ concurrency:
cancel-in-progress: true

jobs:
tests:
ci-oracle:
# This workflow file runs actions for forked repositories, pull requests, and pushes to the master branch.
if: github.event.repository.fork == true || github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/master')

name: PHP ${{ matrix.php }}-${{ matrix.os }}

env:
Expand Down
23 changes: 20 additions & 3 deletions .github/workflows/ci-pgsql.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
on:
- pull_request
- push
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

push:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

name: ci-pgsql

Expand All @@ -9,8 +22,12 @@ concurrency:
cancel-in-progress: true

jobs:
tests:
ci-pgsql:
# This workflow file runs actions for forked repositories, pull requests, and pushes to the master branch.
if: github.event.repository.fork == true || github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/master')

name: PHP ${{ matrix.php }}-pgsql-${{ matrix.pgsql }}

env:
extensions: curl, intl, pdo, pdo_pgsql
XDEBUG_MODE: coverage, develop
Expand Down
22 changes: 19 additions & 3 deletions .github/workflows/ci-sqlite.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
on:
- pull_request
- push
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

push:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'

name: ci-sqlite

Expand All @@ -9,7 +22,10 @@ concurrency:
cancel-in-progress: true

jobs:
tests:
ci-sqlite:
# This workflow file runs actions for forked repositories, pull requests, and pushes to the master branch.
if: github.event.repository.fork == true || github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/master')

name: PHP ${{ matrix.php }}-sqlite

env:
Expand Down
Loading