-
Notifications
You must be signed in to change notification settings - Fork 6
31 lines (28 loc) · 918 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: flysystem-v2-simple-cache-adapter
on:
pull_request:
push:
workflow_dispatch:
jobs:
coding-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: php-cs-fixer
run: |
composer install --prefer-dist --no-interaction --no-ansi --no-progress
php vendor/bin/php-cs-fixer fix --dry-run --diff
tests-php-7-4:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: PHPUnit
run: |
composer install --prefer-dist --no-interaction --no-ansi --no-progress
php vendor/bin/phpunit