mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-17 16:03:03 +00:00
7d21cee5c1
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
27 lines
460 B
YAML
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
|