File tree 4 files changed +42
-48
lines changed
4 files changed +42
-48
lines changed Original file line number Diff line number Diff line change
1
+ # https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
2
+
3
+ name : phpunit
4
+
5
+ on :
6
+ pull_request : {}
7
+ release : {}
8
+ push :
9
+ branches : [ master ]
10
+
11
+ jobs :
12
+ tests :
13
+ name : unit tests
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - uses : actions/checkout@v3
18
+ - uses : php-actions/composer@v6
19
+ with :
20
+ version : 2
21
+
22
+ - name : phpiunit tests
23
+ uses : php-actions/phpunit@v3
24
+ with :
25
+ configuration : ./test/phpunit.xml
26
+ php_extensions : pcov
27
+
28
+ - name : coverage monitor
29
+
30
+ with :
31
+ github_token : ${{ secrets.GITHUB_TOKEN }}
32
+ coverage_path : test/clover.xml
33
+ comment_footer : false
34
+
35
+ - name : Upload coverage to Codecov
36
+ uses : codecov/codecov-action@v3
37
+ with :
38
+ token : ${{ secrets.CODECOV_TOKEN }}
39
+ files : test/clover.xml
40
+ name : github-ci
41
+ verbose : true
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Symfony DI component loader
2
2
3
- [ ![ Build Status] ( https://travis-ci.org/alexpts/php-symfony-di-loader.svg?branch=master )] ( https://travis-ci.org/alexpts/php-symfony-di-loader )
4
- [ ![ Code Coverage] ( https://scrutinizer-ci.com/g/alexpts/php-symfony-di-loader/badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/alexpts/php-symfony-di-loader/?branch=master )
5
- [ ![ Code Climate] ( https://codeclimate.com/github/alexpts/php-symfony-di-loader/badges/gpa.svg )] ( https://codeclimate.com/github/alexpts/php-symfony-di-loader )
6
- [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/alexpts/php-symfony-di-loader/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/alexpts/php-symfony-di-loader/?branch=master )
7
-
3
+ [ ![ codecov] ( https://codecov.io/gh/alexpts/php-symfony-di-loader/branch/master/graph/badge.svg?token=14L6IJA5UE )] ( https://codecov.io/gh/alexpts/php-symfony-di-loader )
8
4
9
5
Simple loader for symfony [ DependencyInjection component] ( https://symfony.com/doc/current/components/dependency_injection.html )
10
6
You can’t perform that action at this time.
0 commit comments