mirror of
https://github.com/xPaw/PHP-Source-Query.git
synced 2026-06-28 03:33:14 +02:00
Move to github actions
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
php:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
php: [7.2, 7.3]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Install dependencies
|
||||||
|
run: composer install --no-interaction --no-progress
|
||||||
|
- name: Run tests
|
||||||
|
run: php${{ matrix.php }} vendor/bin/phpunit --configuration Tests/phpunit.xml --verbose --fail-on-warning
|
||||||
-14
@@ -1,14 +0,0 @@
|
|||||||
sudo: false
|
|
||||||
language: php
|
|
||||||
php:
|
|
||||||
- 7.2
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
email: false
|
|
||||||
|
|
||||||
install:
|
|
||||||
- composer install --no-interaction
|
|
||||||
script:
|
|
||||||
- php ./vendor/bin/phpunit --configuration Tests/phpunit.xml
|
|
||||||
after_script:
|
|
||||||
- php ./vendor/bin/php-coveralls -v
|
|
||||||
+1
-1
@@ -25,7 +25,7 @@
|
|||||||
],
|
],
|
||||||
"require":
|
"require":
|
||||||
{
|
{
|
||||||
"php": ">=5.5"
|
"php": ">=7.2"
|
||||||
},
|
},
|
||||||
"require-dev":
|
"require-dev":
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user