Skip to content

Commit 8f99730

Browse files
committed
Test with FNSR
1 parent 03f3c67 commit 8f99730

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ jobs:
3636
- "8.4"
3737
- "8.5"
3838
operating-system: [ ubuntu-latest, windows-latest ]
39+
fnsr: ["0"]
40+
include:
41+
- php-version: "8.3"
42+
operating-system: ubuntu-latest
43+
fnsr: "1"
44+
- php-version: "8.4"
45+
operating-system: ubuntu-latest
46+
fnsr: "1"
47+
- php-version: "8.5"
48+
operating-system: ubuntu-latest
49+
fnsr: "1"
3950

4051
steps:
4152
- name: "Checkout"
@@ -62,6 +73,8 @@ jobs:
6273

6374
- name: "Tests"
6475
run: "php tests/vendor/bin/paratest --runner WrapperRunner --no-coverage"
76+
env:
77+
PHPSTAN_FNSR: "${{ matrix.fnsr }}"
6578

6679
tests-phpunit11:
6780
name: "Tests PHPUnit 11.x"
@@ -74,6 +87,11 @@ jobs:
7487
php-version:
7588
- "8.2"
7689
operating-system: [ ubuntu-latest, windows-latest ]
90+
fnsr: ["0"]
91+
include:
92+
- php-version: "8.2"
93+
operating-system: ubuntu-latest
94+
fnsr: "1"
7795

7896
steps:
7997
- name: "Checkout"
@@ -96,6 +114,8 @@ jobs:
96114

97115
- name: "Tests"
98116
run: "make tests"
117+
env:
118+
PHPSTAN_FNSR: "${{ matrix.fnsr }}"
99119

100120
tests-integration:
101121
name: "Integration tests"
@@ -203,6 +223,11 @@ jobs:
203223
- "8.0"
204224
- "8.1"
205225
operating-system: [ ubuntu-latest, windows-latest ]
226+
fnsr: ["0"]
227+
include:
228+
- php-version: "8.1"
229+
operating-system: ubuntu-latest
230+
fnsr: "1"
206231

207232
steps:
208233
- name: "Checkout"
@@ -234,6 +259,8 @@ jobs:
234259

235260
- name: "Tests"
236261
run: "make tests"
262+
env:
263+
PHPSTAN_FNSR: "${{ matrix.fnsr }}"
237264

238265
mutation-testing:
239266
name: "Mutation Testing"

0 commit comments

Comments
 (0)