-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 913 Bytes
/
php-ci.yml
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
32
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Symfony S5 Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
symfony-tests:
runs-on: ubuntu-latest
steps:
- name: Clone Repository
run: git clone https://github.com/maxfrn65/symfony-s5.git
- name: Install Dependencies
run: cd symfony-s5 && composer install
- name: Run Tests
run: vendor/bin/phpunit tests/
- name: Run Code Sniffer
run: vendor/bin/phpcs --standard=PSR12 src/ tests/
- name: Run PHPStan
run: vendor/bin/phpstan analyse src/ tests/
- name: Run PHPMD
run: vendor/bin/phpmd src/ text cleancode,codesize,controversial,design,naming