-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #456 from andres-montanez/galactica
Galactica
- Loading branch information
Showing
113 changed files
with
1,370 additions
and
1,012 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,32 @@ | ||
name: Linters | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- galactica | ||
pull_request: | ||
release: | ||
types: | ||
- created | ||
|
||
jobs: | ||
linters: | ||
name: Linters | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Composer install | ||
uses: php-actions/composer@v5 | ||
with: | ||
command: install | ||
args: --ignore-platform-reqs --no-scripts | ||
version: 2 | ||
php_version: 8.0 | ||
- name: PHPStan | ||
run: ./vendor/bin/phpstan analyse | ||
- name: PHP Code Sniffer | ||
run: ./vendor/bin/phpcs |
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,60 @@ | ||
name: PHPUnit | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- galactica | ||
pull_request: | ||
release: | ||
types: | ||
- created | ||
|
||
jobs: | ||
unit_tests_80: | ||
name: Unit tests with PHP 8.0 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Composer install | ||
uses: php-actions/composer@v5 | ||
with: | ||
command: install | ||
args: --ignore-platform-reqs --no-scripts | ||
version: 2 | ||
php_version: 8.0 | ||
- name: Run tests | ||
env: | ||
XDEBUG_MODE: coverage | ||
run: | | ||
mkdir .logs | ||
./vendor/bin/phpunit --coverage-clover build/logs/coverage.xml | ||
- name: Run Coveralls | ||
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: ./vendor/bin/php-coveralls -v --coverage_clover build/logs/coverage.xml | ||
|
||
unit_tests_81: | ||
name: Unit tests with PHP 8.1 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Composer install | ||
uses: php-actions/composer@v5 | ||
with: | ||
command: install | ||
args: --ignore-platform-reqs --no-scripts | ||
version: 2 | ||
php_version: 8.1 | ||
- name: Run tests | ||
env: | ||
XDEBUG_MODE: coverage | ||
run: | | ||
mkdir .logs | ||
./vendor/bin/phpunit --coverage-clover build/logs/coverage.xml |
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 |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
composer.lock | ||
.mage.yml | ||
.phpunit.result.cache | ||
|
||
.phpcs-cache | ||
.logs |
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
language: php | ||
php: | ||
- '7.2' | ||
- '7.4' | ||
- '8.0' | ||
- '8.1' | ||
|
||
install: | ||
- composer install | ||
|
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 |
---|---|---|
@@ -1,24 +1,15 @@ | ||
CHANGELOG for 4.X | ||
CHANGELOG for 5.X | ||
================= | ||
|
||
* 4.1.1 (2021-02-20) | ||
* Add `copyDirectory` option | ||
* Bug fixes | ||
* Improve testing and coverage | ||
|
||
|
||
* 4.1.0 (2021-02-19) | ||
* PHP 8 and Symfony 5 compatibility [PR#448] | ||
* Timeout option for SSH [PR#436] | ||
* Improve compatibility with Windows [PR#434] [PR#429] | ||
* Improve config load [PR#422] | ||
* Bug fixes [PR#448] [PR#424] | ||
* Readme Update [PR#438] | ||
|
||
|
||
* 4.0.0 (2018-04-02) | ||
* v4 series release | ||
* Refactored for Symfony 4 and PHP 7.1 | ||
* Symfony Pool Clear task added | ||
* Symfony Pool Prune task added | ||
* Symfony Assetic task removed | ||
* 5.0.0 (2022-04-15) | ||
* v5 series release. | ||
* Refactored for Symfony 6 and PHP 8. | ||
* Added strong types. | ||
* Removed task `composer/self-update`. | ||
* Allow `exec` task to interpolate `%environment%` and `%release%`. | ||
* Added new `sleep` task to day execution [PR#414]. | ||
* Added new `symlink` option to define the name of symbolic link on the Release [PR#425]. | ||
* Improved Windows compatibility [PR#427]. | ||
* Added new `log_limit` option to limit how many logs are kept [Issue#403]. | ||
* Add new deploy option `--tag` to specify deploying a specific tag [Issue#192] [Issue#315]. | ||
* Added new `scp_flags` option for the `scp` command when SSH flags are incompatible with [Issue#439]. |
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
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
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
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
version: '2' | ||
services: | ||
php7.4: | ||
container_name: mage-php7.4 | ||
build: ./php7.4 | ||
php8.0: | ||
container_name: mage-php8.0 | ||
build: ./php8.0 | ||
volumes: | ||
- ../../:/home/magephp |
4 changes: 2 additions & 2 deletions
4
docs/dockers/php7.4/Dockerfile → docs/dockers/php8.0/Dockerfile
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
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
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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"> | ||
|
||
<arg name="basepath" value="."/> | ||
<arg name="cache" value=".phpcs-cache"/> | ||
<arg name="colors"/> | ||
<arg name="extensions" value="php"/> | ||
|
||
<rule ref="PSR12"/> | ||
|
||
<file>src/</file> | ||
</ruleset> |
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,4 @@ | ||
parameters: | ||
level: 6 | ||
paths: | ||
- src |
Oops, something went wrong.