File tree Expand file tree Collapse file tree 3 files changed +112
-55
lines changed Expand file tree Collapse file tree 3 files changed +112
-55
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : " Tests"
2
+
3
+ on :
4
+ pull_request : null
5
+ push :
6
+ branches :
7
+ - " 0.*.x"
8
+
9
+ jobs :
10
+ phpunit :
11
+ name : " PHPUnit"
12
+ runs-on : ubuntu-latest
13
+
14
+ strategy :
15
+ matrix :
16
+ include :
17
+ - php-version : 7.1
18
+ symfony-version : 4.4.*
19
+ - php-version : 7.4
20
+ symfony-version : 4.4.*
21
+ - php-version : 7.2
22
+ symfony-version : 5.1.*
23
+ - php-version : 7.4
24
+ symfony-version : 5.1.*
25
+
26
+ steps :
27
+ - name : " Checkout"
28
+ uses : actions/checkout@v2
29
+
30
+ - name : " Setup PHP"
31
+ uses : shivammathur/setup-php@v2
32
+ with :
33
+ coverage : none
34
+ php-version : ${{ matrix.php-version }}
35
+
36
+ - name : " Install dependencies with composer"
37
+ run : |
38
+ composer require --no-update symfony/workflow:${{ matrix.symfony-version }}
39
+ composer update --no-interaction --no-progress --no-suggest
40
+
41
+ - name : " Run tests with phpunit/phpunit"
42
+ run : vendor/bin/phpunit
43
+
44
+ checkstyke :
45
+ name : " Checkstyle"
46
+ runs-on : ubuntu-latest
47
+
48
+ strategy :
49
+ matrix :
50
+ include :
51
+ - php-version : 7.4
52
+ symfony-version : 5.1.*
53
+
54
+ steps :
55
+ - name : " Checkout"
56
+ uses : actions/checkout@v2
57
+
58
+ - name : " Setup PHP"
59
+ uses : shivammathur/setup-php@v2
60
+ with :
61
+ coverage : none
62
+ php-version : ${{ matrix.php-version }}
63
+
64
+ - name : " Install dependencies with composer"
65
+ run : |
66
+ composer update --no-interaction --no-progress --no-suggest
67
+
68
+ - name : " Run checkstyle with squizlabs/php_codesniffer"
69
+ run : vendor/bin/phpcs
70
+
71
+ codecov :
72
+ name : " Code coverage"
73
+ runs-on : ubuntu-latest
74
+
75
+ strategy :
76
+ matrix :
77
+ include :
78
+ - php-version : 7.4
79
+ symfony-version : 5.1.*
80
+
81
+ steps :
82
+ - name : " Checkout"
83
+
84
+
85
+ - name : " Setup PHP"
86
+ uses : shivammathur/setup-php@v2
87
+ with :
88
+ coverage : xdebug
89
+ php-version : ${{ matrix.php-version }}
90
+
91
+ - name : " Install dependencies with composer"
92
+ run : |
93
+ composer require --no-update symfony/workflow:${{ matrix.symfony-version }}
94
+ composer update --no-interaction --no-progress --no-suggest
95
+
96
+ - name : " Run tests with phpunit/phpunit"
97
+ env :
98
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
99
+ run : |
100
+ vendor/bin/phpunit --coverage-clover coverage.xml
101
+
102
+ - name : " Upload coverage to Codecov"
103
+ uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change 1
1
Yokai Sonata Workflow
2
2
=====================
3
3
4
- [ ![ Latest Stable Version] ( https://poser.pugx.org/yokai/sonata-workflow/v/stable )] ( https://packagist.org/packages/yokai/sonata-workflow )
5
- [ ![ Latest Unstable Version] ( https://poser.pugx.org/yokai/sonata-workflow/v/unstable )] ( https://packagist.org/packages/yokai/sonata-workflow )
6
- [ ![ Total Downloads] ( https://poser.pugx.org/yokai/sonata-workflow/downloads )] ( https://packagist.org/packages/yokai/sonata-workflow )
7
- [ ![ License] ( https://poser.pugx.org/yokai/sonata-workflow/license )] ( https://packagist.org/packages/yokai/sonata-workflow )
4
+ [ ![ Tests] ( https://img.shields.io/github/workflow/status/yokai-php/sonata-workflow/Tests?style=flat-square&label=tests )] ( https://github.com/yokai-php/sonata-workflow/actions )
5
+ [ ![ Coverage] ( https://img.shields.io/codecov/c/github/yokai-php/sonata-workflow?style=flat-square )] ( https://codecov.io/gh/yokai-php/sonata-workflow )
6
+ [ ![ Contributors] ( https://img.shields.io/github/contributors/yokai-php/sonata-workflow?style=flat-square )] ( https://github.com/yokai-php/sonata-workflow/graphs/contributors )
7
+
8
+ [ ![ License] ( https://img.shields.io/packagist/l/yokai/sonata-workflow?style=flat-square )] ( https://packagist.org/packages/yokai/sonata-workflow/stats )
9
+ [ ![ Latest Stable Version] ( https://img.shields.io/packagist/v/yokai/sonata-workflow?style=flat-square )] ( https://packagist.org/packages/yokai/sonata-workflow )
10
+ [ ![ Current Unstable Version] ( https://img.shields.io/packagist/v/yokai/sonata-workflow?include_prereleases&style=flat-square )] ( https://packagist.org/packages/yokai/sonata-workflow )
11
+ [ ![ Downloads Monthly] ( https://img.shields.io/packagist/dm/yokai/sonata-workflow?style=flat-square )] ( https://packagist.org/packages/yokai/sonata-workflow/stats )
12
+ [ ![ Total Downloads] ( https://img.shields.io/packagist/dt/yokai/sonata-workflow?style=flat-square )] ( https://packagist.org/packages/yokai/sonata-workflow/stats )
8
13
9
14
10
15
Introduction
You can’t perform that action at this time.
0 commit comments