Danny Mösch
90915d9497
Adapt build scripts for Swift Testing
...
* Disable tests on macOS 14/Xcode 16.2
* Remove `--parallel` which is the default
* Set reasonable test timeouts
2026-06-06 11:07:04 +02:00
Danny Mösch
e8095c748a
One working directory per test
2026-06-06 11:07:04 +02:00
Danny Mösch
ac2eda6732
Adopt Swift Testing
...
# Conflicts:
# Tests/BuiltInRulesTests/FileHeaderRuleTests.swift
# Tests/BuiltInRulesTests/FileNameNoSpaceRuleTests.swift
# Tests/BuiltInRulesTests/IndentationWidthRuleTests.swift
# Tests/CoreTests/RegexConfigurationTests.swift
# Tests/CoreTests/SwiftLintFileTests.swift
# Tests/FileSystemAccessTests/BaselineTests.swift
# Tests/FileSystemAccessTests/ConfigurationTests+Mock.swift
# Tests/FileSystemAccessTests/ConfigurationTests.swift
# Tests/FileSystemAccessTests/GlobTests.swift
# Tests/FileSystemAccessTests/MultipleConfigurationsTests.swift
# Tests/FileSystemAccessTests/ReporterTests.swift
# Tests/FileSystemAccessTests/SourceKitCrashTests.swift
# Tests/FrameworkTests/CustomRulesTests.swift
# Tests/FrameworkTests/LinterCacheTests.swift
# Tests/FrameworkTests/RuleConfigurationTests.swift
# Tests/FrameworkTests/SwiftVersionTests.swift
# Tests/GeneratedTests/GeneratedTests_02.swift
# Tests/GeneratedTests/GeneratedTests_03.swift
# Tests/GeneratedTests/GeneratedTests_04.swift
# Tests/GeneratedTests/GeneratedTests_05.swift
# Tests/GeneratedTests/GeneratedTests_06.swift
# Tests/GeneratedTests/GeneratedTests_07.swift
# Tests/GeneratedTests/GeneratedTests_08.swift
# Tests/GeneratedTests/GeneratedTests_09.swift
# Tests/GeneratedTests/GeneratedTests_10.swift
# Tests/IntegrationTests/ConfigPathResolutionTests.swift
# Tests/IntegrationTests/IntegrationTests.swift
# Tests/TestHelpers/TestHelpers.swift
2026-06-06 11:07:04 +02:00
792032480e
Support SwiftLint on Windows ( #6636 )
...
Co-authored-by: Saleem Abdulrasool <compnerd@compnerd.org >
Co-authored-by: Roman Lavrov <roman.lavrov@thebrowser.company >
2026-05-27 22:02:06 +02:00
Danny Mösch
faa5859155
Introduce guarded filepath provider for file collection ( #6435 )
2026-01-14 18:06:13 -05:00
Danny Mösch
ac701c088c
Improve performance of excluded files filter ( #6342 )
...
The current algorithm is like "collect all included files and subtract all excluded files".
Collecting all included and all excluded files relies on the file system. This can become slow
when the patterns used to exclude files resolve to a large number of files.
The new approach only collects all lintable files and checks them against the exclude patterns.
This can be done by in-memory string-regex-match and does therefore not require file system accesses.
The new implementation also no longer traverses directories that already match an exclude pattern.
(cherry picked from commit 152355e36f )
2025-12-07 15:58:23 +01:00