Skip to content

Commit

Permalink
SPT-1998 fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mrandrewsmith committed Apr 10, 2024
1 parent 002a10a commit 0911d72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
with:
fail_ci_if_error: true
flags: unittests
directory: ./CoverageReports
file: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
## Build generated
build/
DerivedData/
CoverageReports/
Docs/swift_output/
Package.resolved
NodeKit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm
coverage.xml

## Various settings
*.pbxuser
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ spm_build:
## Run tests
test:
rm -rf DerivedData
rm *.txt
xcodebuild test -scheme NodeKit -derivedDataPath DerivedData -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -enableCodeCoverage YES -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' | bundle exec xcpretty -c
./xcresultparser/xcresultparser -c -o xml DerivedData/Logs/Test/*.xcresult > ./coverage.xml
./xcresultparser/xcresultparser --output-format cobertura DerivedData/Logs/Test/*.xcresult > ./coverage.xml

## Created documentation by comments from code
doc:
Expand Down

0 comments on commit 0911d72

Please sign in to comment.