mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-16 12:35:04 +02:00
Compare commits
6 commits
Author | SHA1 | Date | |
---|---|---|---|
c3ac15bfb9 | |||
40501f3d08 | |||
d32fa10a75 | |||
3fb2a15321 | |||
bb2ee8d279 | |||
d4db0ea4b6 |
36
.github/workflows/tests.yml
vendored
36
.github/workflows/tests.yml
vendored
|
@ -11,9 +11,16 @@ on:
|
||||||
- created
|
- created
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
unit_tests_80:
|
unit_tests:
|
||||||
name: Unit tests with PHP 8.0
|
name: Unit tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- php: 8.0
|
||||||
|
coveralls: true
|
||||||
|
- php: 8.1
|
||||||
|
coveralls: false
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -25,7 +32,7 @@ jobs:
|
||||||
command: install
|
command: install
|
||||||
args: --ignore-platform-reqs --no-scripts
|
args: --ignore-platform-reqs --no-scripts
|
||||||
version: 2
|
version: 2
|
||||||
php_version: 8.0
|
php_version: ${{ matrix.php }}
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
env:
|
env:
|
||||||
XDEBUG_MODE: coverage
|
XDEBUG_MODE: coverage
|
||||||
|
@ -33,28 +40,7 @@ jobs:
|
||||||
mkdir .logs
|
mkdir .logs
|
||||||
./vendor/bin/phpunit --coverage-clover build/logs/coverage.xml
|
./vendor/bin/phpunit --coverage-clover build/logs/coverage.xml
|
||||||
- name: Run Coveralls
|
- name: Run Coveralls
|
||||||
|
if: ${{ matrix.coveralls }}
|
||||||
env:
|
env:
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: ./vendor/bin/php-coveralls -v --coverage_clover build/logs/coverage.xml
|
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
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
[![License](https://img.shields.io/packagist/l/andres-montanez/magallanes.svg)](https://packagist.org/packages/andres-montanez/magallanes)
|
[![License](https://img.shields.io/packagist/l/andres-montanez/magallanes.svg)](https://packagist.org/packages/andres-montanez/magallanes)
|
||||||
|
|
||||||
### What's Magallanes?
|
### What's Magallanes?
|
||||||
**Magallanes** is a deployment tool for made with PHP for PHP applications; it's quite simple to use and manage. For more information and documentation please visit https://magephp.com
|
**Magallanes** is a deployment tool for made with PHP for PHP applications; it's quite simple to use and manage. For more information and documentation please visit [magephp.com](https://www.magephp.com/)
|
||||||
|
|
||||||
### Installing
|
### Installing
|
||||||
Simply add the following dependency to your project’s composer.json file:
|
Simply add the following dependency to your project’s composer.json file:
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "5.0.x-dev",
|
"dev-master": "5.0.x-dev",
|
||||||
"dev-discovery-one": "5.x-dev"
|
"dev-galactica": "5.x-dev"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue