Skip to content

Commit 6f8c0fc

Browse files
authored
Improve CI (#62)
1 parent a443f26 commit 6f8c0fc

File tree

3 files changed

+34
-12
lines changed

3 files changed

+34
-12
lines changed

.github/workflows/bc.yml

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,33 @@
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
25+
626
jobs:
727
roave_bc_check:
8-
name: Roave BC Check
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@master
12-
- name: fetch tags
13-
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
14-
- name: Roave BC Check
15-
uses: docker://nyholm/roave-bc-check-ga
28+
uses: yiisoft/actions/.github/workflows/bc.yml@master
29+
with:
30+
os: >-
31+
['ubuntu-latest']
32+
php: >-
33+
['8.1']

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
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,8 +25,10 @@ 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']
3033
php: >-
31-
['7.4', '8.0', '8.1']
34+
['7.4', '8.0', '8.1', '8.2', '8.3']

.github/workflows/mutation.yml

Lines changed: 2 additions & 1 deletion
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.2']
3031
secrets:
3132
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

0 commit comments

Comments
 (0)