File tree Expand file tree Collapse file tree 7 files changed +51
-18
lines changed Expand file tree Collapse file tree 7 files changed +51
-18
lines changed Original file line number Diff line number Diff line change 1111 branches : [master, simplesamlphp-*]
1212 paths :
1313 - ' **.md'
14+ workflow_dispatch :
1415
1516jobs :
1617 quality :
Original file line number Diff line number Diff line change @@ -271,3 +271,21 @@ jobs:
271271
272272 - name : Codecov
273273 uses : codecov/codecov-action@v3
274+ with :
275+ token : ${{ secrets.CODECOV_TOKEN }}
276+ fail_ci_if_error : true
277+ verbose : true
278+
279+ cleanup :
280+ name : Cleanup artifacts
281+ needs : [unit-tests-linux, coverage]
282+ runs-on : [ubuntu-latest]
283+ if : |
284+ always() &&
285+ needs.coverage.result == 'success' ||
286+ (needs.unit-tests-linux == 'success' && needs.coverage == 'skipped')
287+
288+ steps :
289+ - uses : geekyeggo/delete-artifact@v2
290+ with :
291+ name : coverage-data
Original file line number Diff line number Diff line change 2929 "php" : " ^8.0" ,
3030
3131 "simplesamlphp/composer-module-installer" : " ^1.3.4" ,
32- "simplesamlphp/simplesamlphp" : " ^2.0.0 " ,
32+ "simplesamlphp/simplesamlphp" : " ^3@dev " ,
3333 "simplesamlphp/xml-common" : " ^1.12.2"
3434 },
3535 "require-dev" : {
File renamed without changes.
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <psalm
3+ name =" SimpleSAMLphp testsuite"
4+ useDocblockTypes =" true"
5+ errorLevel =" 4"
6+ reportMixedIssues =" false"
7+ hideExternalErrors =" true"
8+ allowStringToStandInForClass =" true"
9+ >
10+ <projectFiles >
11+ <directory name =" tests" />
12+
13+ <!-- Ignore certain directories -->
14+ <ignoreFiles >
15+ <directory name =" vendor" />
16+ </ignoreFiles >
17+ </projectFiles >
18+
19+ <issueHandlers >
20+ <!-- Ignore UnresolvableInclude on CLI-scripts -->
21+ <UnresolvableInclude >
22+ <errorLevel type =" suppress" >
23+ <file name =" tests/bootstrap.php" />
24+ </errorLevel >
25+ </UnresolvableInclude >
26+ </issueHandlers >
27+ </psalm >
Original file line number Diff line number Diff line change 88 <projectFiles >
99 <directory name =" config-templates" />
1010 <directory name =" src" />
11- <directory name =" tests" />
1211 <directory name =" www" />
1312 </projectFiles >
1413
3029 <MissingParamType errorLevel =" info" />
3130 <UnusedClass errorLevel =" info" />
3231 <PossiblyUnusedMethod errorLevel =" info" />
33-
34- <!-- Suppress PHPunit-issue -->
35- <InternalMethod >
36- <errorLevel type =" suppress" >
37- <directory name =" tests" />
38- </errorLevel >
39- </InternalMethod >
40-
41-
42- <!-- Ignore UnresolvableInclude -->
43- <UnresolvableInclude >
44- <errorLevel type =" suppress" >
45- <file name =" tests/bootstrap.php" />
46- <file name =" tests/routers/configLoader.php" />
47- </errorLevel >
48- </UnresolvableInclude >
4932 </issueHandlers >
5033</psalm >
Original file line number Diff line number Diff line change 1+ {
2+ "symbol-whitelist" : [
3+ ]
4+ }
You can’t perform that action at this time.
0 commit comments