-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from MFB-Technologies-Inc/feature/stop-schemes-…
…from-polluting-dependents - Add .swiftpm to gitignore to stop schemes from polluting packages that depend on NetworkService - Run swiftformat - Update ci.yml to use newer codecov flow - Add codecov badge to README - Remove unnecessary use of `try!`. Resolves issue #1. - Add missing assertion descriptions in tests. Resolves swiftlint warnings.
- Loading branch information
Showing
24 changed files
with
58 additions
and
563 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,8 +43,9 @@ jobs: | |
- name: Lint | ||
run: swiftlint . | ||
- name: Run Tests | ||
run: swift test --enable-code-coverage | ||
run: swift test --enable-code-coverage --parallel | ||
- name: Swift Coverage Report | ||
uses: maxep/[email protected] | ||
- name: Code Coverage | ||
run: bash <(curl -s https://codecov.io/bash) -X xcodellvm | ||
run: xcrun llvm-cov export -format="lcov" .build/debug/NetworkServicePackageTests.xctest/Contents/MacOS//NetworkServicePackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov | ||
- uses: codecov/codecov-action@v3 | ||
with: | ||
fail_ci_if_error: true # optional (default = false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
205 changes: 0 additions & 205 deletions
205
.swiftpm/xcode/xcshareddata/xcschemes/NetworkService-Package.xcscheme
This file was deleted.
Oops, something went wrong.
77 changes: 0 additions & 77 deletions
77
.swiftpm/xcode/xcshareddata/xcschemes/NetworkService.xcscheme
This file was deleted.
Oops, something went wrong.
77 changes: 0 additions & 77 deletions
77
.swiftpm/xcode/xcshareddata/xcschemes/NetworkServiceAsyncBeta.xcscheme
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.