summaryrefslogtreecommitdiff
path: root/vendor/doctrine/persistence/.github
diff options
context:
space:
mode:
authorDevian <devianleong@gmail.com>2021-04-22 17:11:12 +0800
committerDevian <devianleong@gmail.com>2021-04-22 17:11:12 +0800
commitbf68fa166afb95d682007e7671c2b0692227bec5 (patch)
tree26091a1e5a821905b8bdba73fd1ddb95e12f887e /vendor/doctrine/persistence/.github
parent745cf2431a71d0e6c5f08f8605839279b2f7496e (diff)
Initial
Diffstat (limited to 'vendor/doctrine/persistence/.github')
-rw-r--r--vendor/doctrine/persistence/.github/workflows/coding-standards.yml50
-rw-r--r--vendor/doctrine/persistence/.github/workflows/continuous-integration.yml79
-rw-r--r--vendor/doctrine/persistence/.github/workflows/release-on-milestone-closed.yml55
-rw-r--r--vendor/doctrine/persistence/.github/workflows/static-analysis.yml64
4 files changed, 0 insertions, 248 deletions
diff --git a/vendor/doctrine/persistence/.github/workflows/coding-standards.yml b/vendor/doctrine/persistence/.github/workflows/coding-standards.yml
deleted file mode 100644
index 18fcfa0..0000000
--- a/vendor/doctrine/persistence/.github/workflows/coding-standards.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-name: "Coding Standards"
-
-on:
- pull_request:
- branches:
- - "*.x"
- - "master"
- push:
- branches:
- - "*.x"
- - "master"
-
-env:
- COMPOSER_ROOT_VERSION: "2.1"
-
-jobs:
- coding-standards:
- name: "Coding Standards"
- runs-on: "ubuntu-20.04"
-
- strategy:
- matrix:
- php-version:
- - "7.4"
-
- steps:
- - name: "Checkout"
- uses: "actions/checkout@v2"
-
- - name: "Install PHP"
- uses: "shivammathur/setup-php@v2"
- with:
- coverage: "none"
- php-version: "${{ matrix.php-version }}"
- tools: "cs2pr"
-
- - name: "Cache dependencies installed with Composer"
- uses: "actions/cache@v2"
- with:
- path: "~/.composer/cache"
- key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
- restore-keys: "php-${{ matrix.php-version }}-composer-locked-"
-
- - name: "Install dependencies with Composer"
- run: "composer install --no-interaction --no-progress --no-suggest"
-
- # https://github.com/doctrine/.github/issues/3
- - name: "Run PHP_CodeSniffer"
- run: "vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr"
diff --git a/vendor/doctrine/persistence/.github/workflows/continuous-integration.yml b/vendor/doctrine/persistence/.github/workflows/continuous-integration.yml
deleted file mode 100644
index eb32fcb..0000000
--- a/vendor/doctrine/persistence/.github/workflows/continuous-integration.yml
+++ /dev/null
@@ -1,79 +0,0 @@
-
-name: "Continuous Integration"
-
-on:
- pull_request: null
-
-env:
- COMPOSER_ROOT_VERSION: "2.1"
-
-jobs:
- phpunit:
- name: "PHPUnit"
- runs-on: "ubuntu-20.04"
-
- strategy:
- matrix:
- php-version:
- - "7.1"
- - "7.2"
- - "7.3"
- - "7.4"
- - "8.0"
- deps:
- - "normal"
- include:
- - deps: "low"
- php-version: "7.1"
-
- steps:
- - name: "Checkout"
- uses: "actions/checkout@v2"
- with:
- fetch-depth: 2
-
- - name: "Install PHP with pcov"
- uses: "shivammathur/setup-php@v2"
- if: "${{ matrix.php-version != '7.1' }}"
- with:
- php-version: "${{ matrix.php-version }}"
- coverage: "pcov"
-
- - name: "Install PHP with xdebug"
- uses: "shivammathur/setup-php@v2"
- if: "${{ matrix.php-version == '7.1' }}"
- with:
- php-version: "${{ matrix.php-version }}"
- coverage: "xdebug"
-
- - name: "Cache dependencies installed with composer"
- uses: "actions/cache@v2"
- with:
- path: "~/.composer/cache"
- key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
- restore-keys: "php-${{ matrix.php-version }}-composer-locked-"
-
- # Remove this block when
- # https://github.com/felixfbecker/php-language-server-protocol/pull/15 is
- # merged and released
- - name: "Remove dependency on vimeo/psalm for PHP8"
- run: "composer remove --dev --no-update vimeo/psalm"
- if: "${{ matrix.php-version == '8.0' }}"
-
- - name: "Downgrade Composer"
- run: "composer self-update --1"
- if: "${{ matrix.php-version == '7.1' }}"
-
- - name: "Update dependencies with composer"
- run: "composer update --no-interaction --no-progress --no-suggest"
- if: "${{ matrix.deps == 'normal' }}"
-
- - name: "Install lowest possible dependencies with composer"
- run: "composer update --no-interaction --no-progress --no-suggest --prefer-dist --prefer-lowest"
- if: "${{ matrix.deps == 'low' }}"
-
- - name: "Run PHPUnit"
- run: "vendor/bin/phpunit --coverage-clover=coverage.xml"
-
- - name: "Upload to Codecov"
- uses: "codecov/codecov-action@v1"
diff --git a/vendor/doctrine/persistence/.github/workflows/release-on-milestone-closed.yml b/vendor/doctrine/persistence/.github/workflows/release-on-milestone-closed.yml
deleted file mode 100644
index 70ccbdb..0000000
--- a/vendor/doctrine/persistence/.github/workflows/release-on-milestone-closed.yml
+++ /dev/null
@@ -1,55 +0,0 @@
-name: "Automatic Releases"
-
-on:
- milestone:
- types:
- - "closed"
-
-jobs:
- release:
- name: "Git tag, release & create merge-up PR"
- runs-on: "ubuntu-20.04"
-
- steps:
- - name: "Checkout"
- uses: "actions/checkout@v2"
-
- - name: "Release"
- uses: "laminas/automatic-releases@v1"
- with:
- command-name: "laminas:automatic-releases:release"
- env:
- "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}
- "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
- "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
- "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
-
- - name: "Create Merge-Up Pull Request"
- uses: "laminas/automatic-releases@v1"
- with:
- command-name: "laminas:automatic-releases:create-merge-up-pull-request"
- env:
- "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}
- "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
- "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
- "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
-
- - name: "Create and/or Switch to new Release Branch"
- uses: "laminas/automatic-releases@v1"
- with:
- command-name: "laminas:automatic-releases:switch-default-branch-to-next-minor"
- env:
- "GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
- "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
- "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
- "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
-
- - name: "Create new milestones"
- uses: "laminas/automatic-releases@v1"
- with:
- command-name: "laminas:automatic-releases:create-milestones"
- env:
- "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}
- "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
- "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
- "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
diff --git a/vendor/doctrine/persistence/.github/workflows/static-analysis.yml b/vendor/doctrine/persistence/.github/workflows/static-analysis.yml
deleted file mode 100644
index 5288ee1..0000000
--- a/vendor/doctrine/persistence/.github/workflows/static-analysis.yml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-name: "Static Analysis"
-
-on:
- pull_request:
- branches:
- - "*.x"
- - "master"
- push:
- branches:
- - "*.x"
- - "master"
-env:
- COMPOSER_ROOT_VERSION: "2.1"
-
-jobs:
- static-analysis-phpstan:
- name: "Static Analysis with PHPStan"
- runs-on: "ubuntu-20.04"
-
- strategy:
- matrix:
- php-version:
- - "7.4"
-
- steps:
- - name: "Checkout code"
- uses: "actions/checkout@v2"
-
- - name: "Install PHP"
- uses: "shivammathur/setup-php@v2"
- with:
- coverage: "none"
- php-version: "${{ matrix.php-version }}"
- tools: "cs2pr"
-
- - name: "Cache dependencies installed with composer"
- uses: "actions/cache@v2"
- with:
- path: "~/.composer/cache"
- key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
- restore-keys: "php-${{ matrix.php-version }}-composer-locked-"
-
- - name: "Install dependencies with composer"
- run: "composer install --no-interaction --no-progress --no-suggest"
-
- - name: "Run a static analysis with phpstan/phpstan"
- run: "vendor/bin/phpstan analyse --error-format=checkstyle | cs2pr"
-
- static-analysis-psalm:
- name: "Static Analysis with Psalm"
- runs-on: "ubuntu-20.04"
-
- strategy:
- matrix:
- php-version:
- - "7.4"
-
- steps:
- - name: Checkout code
- uses: actions/checkout@v2
-
- - name: Psalm
- uses: docker://vimeo/psalm-github-actions