Files
TwoFactorAuth/.github/workflows/test.yml
T
Matthew Peveler 7d21cee5c1 migrate from travis to gh action
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2021-01-28 11:49:01 +00:00

27 lines
460 B
YAML

name: Test
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer
coverage: xdebug
- uses: ramsey/composer-install@v1
- run: vendor/bin/phpunit --coverage-text tests