no message

This commit is contained in:
hajimi
2026-06-11 12:15:29 +08:00
parent 10ebe39c30
commit 96efa1d905
5859 changed files with 815501 additions and 5 deletions
@@ -0,0 +1,43 @@
name: PHP Composer
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-18.04 ]
php: [ '5.4', '5.5', '5.6', '7.1', '7.2', '7.3', '7.4' ]
name: PHP ${{ matrix.php }}@${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php }}
extensions: xdebug
- name: check php version
run: php --version
- name: check composer version
run: composer --version
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run test suite
run: ./vendor/bin/phpunit
- name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: ./vendor/bin/coveralls --coverage_clover=build/logs/clover.xml -v