mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
Run all tests and lint codebase on Windows
This commit is contained in:
@@ -89,8 +89,7 @@ jobs:
|
||||
key: windows-${{ matrix.windows-version }}-spm-${{ env.SWIFT_VERSION }}-${{ env.SWIFT_BUILD }}-${{ hashFiles('Package.resolved', 'Package.swift') }}
|
||||
restore-keys: windows-${{ matrix.windows-version }}-spm-${{ env.SWIFT_VERSION }}-${{ env.SWIFT_BUILD }}-
|
||||
path: .build
|
||||
- name: Build all targets
|
||||
run: swift build --build-tests
|
||||
- name: Run selected tests
|
||||
run: swift test --skip IntegrationTests --skip FileSystemAccessTests --skip FrameworkTests --skip BuiltInRulesTests
|
||||
# To be extended with test execution and linting ...
|
||||
- name: Run tests
|
||||
run: swift test --parallel
|
||||
- name: Lint codebase
|
||||
run: swift run swiftlint lint --strict
|
||||
|
||||
Reference in New Issue
Block a user