mirror of
https://github.com/danog/loop.git
synced 2024-11-27 04:14:50 +01:00
Remove old workflow
This commit is contained in:
parent
b3dd730459
commit
f72f40dab6
42
.github/workflows/build.yaml
vendored
42
.github/workflows/build.yaml
vendored
@ -1,42 +0,0 @@
|
||||
name: build
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ${{ matrix.operating-system }}
|
||||
strategy:
|
||||
matrix:
|
||||
operating-system: [ubuntu-latest, windows-latest, macos-latest]
|
||||
php-versions: ['7.1', '7.2', '7.3', '7.4']
|
||||
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
extensions: mbstring, intl
|
||||
coverage: xdebug
|
||||
|
||||
- name: Check environment
|
||||
run: |
|
||||
php --version
|
||||
composer --version
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer update -n --prefer-dist
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
|
||||
PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer --diff --dry-run -v fix
|
||||
vendor/bin/psalm
|
||||
|
||||
- name: Collect code coverage
|
||||
env:
|
||||
COVERALLS_REPO_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
if: success()
|
||||
run: vendor/bin/coveralls build/logs/clover.xml
|
Loading…
Reference in New Issue
Block a user