Skip to content

Commit a23a082

Browse files
authored
Improve CI + Remove scrutinizer badge (#103)
1 parent b1ddfd2 commit a23a082

File tree

6 files changed

+29
-5
lines changed

6 files changed

+29
-5
lines changed

.github/workflows/bc.yml

+21-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
on:
2-
- pull_request
3-
- push
2+
pull_request:
3+
paths-ignore:
4+
- 'docs/**'
5+
- 'README.md'
6+
- 'CHANGELOG.md'
7+
- '.gitignore'
8+
- '.gitattributes'
9+
- 'infection.json.dist'
10+
- 'phpunit.xml.dist'
11+
- 'psalm.xml'
12+
push:
13+
branches: ['master']
14+
paths-ignore:
15+
- 'docs/**'
16+
- 'README.md'
17+
- 'CHANGELOG.md'
18+
- '.gitignore'
19+
- '.gitattributes'
20+
- 'infection.json.dist'
21+
- 'phpunit.xml.dist'
22+
- 'psalm.xml'
423

524
name: backwards compatibility
625

.github/workflows/build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- 'psalm.xml'
1111

1212
push:
13+
branches: ['master']
1314
paths-ignore:
1415
- 'docs/**'
1516
- 'README.md'
@@ -24,6 +25,8 @@ name: build
2425
jobs:
2526
phpunit:
2627
uses: yiisoft/actions/.github/workflows/phpunit.yml@master
28+
secrets:
29+
codecovToken: ${{ secrets.CODECOV_TOKEN }}
2730
with:
2831
os: >-
2932
['ubuntu-latest', 'windows-latest']

.github/workflows/composer-require-checker.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- 'psalm.xml'
1212

1313
push:
14+
branches: ['master']
1415
paths-ignore:
1516
- 'docs/**'
1617
- 'README.md'
@@ -30,4 +31,4 @@ jobs:
3031
os: >-
3132
['ubuntu-latest']
3233
php: >-
33-
['8.1']
34+
['8.1', '8.2', '8.3']

.github/workflows/mutation.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- 'psalm.xml'
1010

1111
push:
12+
branches: ['master']
1213
paths-ignore:
1314
- 'docs/**'
1415
- 'README.md'
@@ -26,6 +27,6 @@ jobs:
2627
os: >-
2728
['ubuntu-latest']
2829
php: >-
29-
['8.1']
30+
['8.3']
3031
secrets:
3132
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

.github/workflows/static.yml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- 'phpunit.xml.dist'
1111

1212
push:
13+
branches: ['master']
1314
paths-ignore:
1415
- 'docs/**'
1516
- 'README.md'

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
[![Latest Stable Version](https://poser.pugx.org/yiisoft/middleware-dispatcher/v/stable.png)](https://packagist.org/packages/yiisoft/middleware-dispatcher)
1010
[![Total Downloads](https://poser.pugx.org/yiisoft/middleware-dispatcher/downloads.png)](https://packagist.org/packages/yiisoft/middleware-dispatcher)
1111
[![Build status](https://github.com/yiisoft/middleware-dispatcher/workflows/build/badge.svg)](https://github.com/yiisoft/middleware-dispatcher/actions?query=workflow%3Abuild)
12-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/yiisoft/middleware-dispatcher/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/yiisoft/middleware-dispatcher/?branch=master)
1312
[![Code Coverage](https://codecov.io/gh/yiisoft/middleware-dispatcher/branch/master/graph/badge.svg)](https://codecov.io/gh/yiisoft/middleware-dispatcher)
1413
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fyiisoft%2Fmiddleware-dispatcher%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/yiisoft/middleware-dispatcher/master)
1514
[![static analysis](https://github.com/yiisoft/middleware-dispatcher/workflows/static%20analysis/badge.svg)](https://github.com/yiisoft/middleware-dispatcher/actions?query=workflow%3A%22static+analysis%22)

0 commit comments

Comments
 (0)