SwiftLint报告文件(txt)丢失

时间:2019-11-25 23:48:29

标签: swift swiftlint

使用SwiftLint在Bitbucket管道中创建配置项时,我在bitbucket中收到以下警告:

Searching for test report files in directories named [test-results, failsafe-reports, test-reports, surefire-reports] down to a depth of 4
Finished scanning for test reports. Found 0 test report files.
Merged test suites, total number tests is 0, with 0 failures and 0 errors.

换句话说,它不会生成报告文件。

运行SwiftLint时的完整输出,包括使用的堆栈跟踪和命令
+ swiftlint autocorrect
Loading configuration from '.swiftlint.yml'
Correcting Swift files at paths 
Correcting 'Package.swift' (1/11)
Correcting 'Popular.swift' (2/11)
Correcting 'Genre.swift' (3/11)
Correcting 'Paginator.swift' (4/11)
Correcting 'ContentItem.swift' (5/11)
Correcting 'APIService.swift' (6/11)
Correcting 'Token.swift' (7/11)
Correcting 'PaginatedResponse.swift' (8/11)
Correcting 'XCTestManifests.swift' (9/11)
Correcting 'SwiftRecommendationsTests.swift' (10/11)
Correcting 'LinuxMain.swift' (11/11)
Done correcting 11 files!

环境

  • SwiftLint版本(确定运行swiftlint version)?
  • 使用的安装方法(自制软件,CocoaPods,从源代码构建等)?
  • 粘贴您的配置文件:
excluded:
  - .build/checkouts
line_length: 250
disabled_rules:
  - unused_enumerated
reporter:
  - "html"

0 个答案:

没有答案