-
-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # .travis.yml # lib/Phpfastcache/Helper/ActOnAll.php
- Loading branch information
Showing
159 changed files
with
6,346 additions
and
5,134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Greetings | ||
|
||
on: [pull_request, issues] | ||
|
||
jobs: | ||
greeting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-message: | | ||
Hello curious contributor ! | ||
Since it seems to be your first contribution, make sure that you've been: | ||
- Reading and searching out our [WIKI](https://github.com/PHPSocialNetwork/phpfastcache/wiki) | ||
- Reading and agreed with our [Code Of Conduct](https://github.com/PHPSocialNetwork/phpfastcache/blob/master/CODE_OF_CONDUCT.md) | ||
- Reading and understood our [Coding Guideline](https://github.com/PHPSocialNetwork/phpfastcache/blob/master/CODING_GUIDELINE.md) | ||
- Reading our [README](https://github.com/PHPSocialNetwork/phpfastcache/blob/master/README.md) | ||
If everything looks unclear to you, tell us what 😄 | ||
The Phpfastcache Team | ||
pr-message: | | ||
Hello curious contributor ! | ||
Since it seems to be your first contribution, make sure that you've been: | ||
- Reading and searching out our [WIKI](https://github.com/PHPSocialNetwork/phpfastcache/wiki) | ||
- Reading and agreed with our [Code Of Conduct](https://github.com/PHPSocialNetwork/phpfastcache/blob/master/CODE_OF_CONDUCT.md) | ||
- Reading and understood our [Coding Guideline](https://github.com/PHPSocialNetwork/phpfastcache/blob/master/CODING_GUIDELINE.md) | ||
- Reading our [README](https://github.com/PHPSocialNetwork/phpfastcache/blob/master/README.md) | ||
If everything looks unclear to you, tell us what 😄 | ||
The Phpfastcache Team |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Unit tests | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup PHP 7.3 | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '7.3' | ||
coverage: none | ||
extensions: mbstring, intl, pdo_sqlite | ||
ini-values: apc.enabled=1, apc.shm_size=32M, apc.ttl=7200, apc.enable_cli=1, apc.serializer=php | ||
- name: Setup Memcached server | ||
uses: niden/actions-memcached@v7 | ||
- name: Setup Redis server | ||
uses: zhulik/[email protected] | ||
with: | ||
redis version: '5' | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Validate composer.json and composer.lock | ||
run: composer validate | ||
|
||
- name: Install dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest | ||
|
||
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" | ||
# Docs: https://getcomposer.org/doc/articles/scripts.md | ||
- name: Run tests on PHP 7.3 | ||
run: php -f ./bin/ci/run_tests.php | ||
- name: Setup PHP 7.4 | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '7.4' | ||
coverage: none | ||
extensions: mbstring, intl, pdo_sqlite, json | ||
ini-values: apc.enabled=1, apc.shm_size=32M, apc.ttl=7200, apc.enable_cli=1, apc.serializer=php | ||
- name: Run tests on PHP 7.4 | ||
run: php -f ./bin/ci/run_tests.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.