Skip to content

Commit

Permalink
fixing .github/workflows/ios.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
illabo committed Oct 18, 2020
1 parent 40da700 commit a73b794
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:
uses: actions/checkout@v2
- name: Xcode version selection
run: sudo xcode-select --switch /Applications/Xcode_12.app
- name: SwiftLint report
run: swiftlint lint --reporter github-actions-logging --config "FlipperZero/.swiftlint.yml"
- name: Xcode test
run: xcodebuild -sdk iphonesimulator -workspace ./FlipperZero/FlipperZero.xcodeproj/project.xcworkspace -scheme 'FlipperZero(iOS)' -derivedDataPath output/DerivedData -enableCodeCoverage YES test DSTROOT=output/test/build.dst OBJROOT=output/test/build.obj SYMROOT=output/test/build.sym SHARED_PRECOMPS_DIR=./output/test/build.pch -destination platform='iOS Simulator,name=iPhone 11' | xcpretty
- name: Export test coverege
Expand Down Expand Up @@ -58,7 +56,7 @@ jobs:
curl -sL https://github.com/illabo/xcccr/releases/latest/download/xcccr > xcccr
chmod +x xcccr
if [ ! -f input/coverage/pullreq-coverage.json ] ; then
cat input/coverage/master-coverage.json | ./xcccr
cat input/coverage/master-coverage.json | ./xcccr -cfg=FlipperZero/.xcccr.toml
else
sudo xcode-select --switch /Applications/Xcode_12.app
xcodebuild -sdk iphonesimulator -workspace ./FlipperZero/FlipperZero.xcodeproj/project.xcworkspace -scheme 'FlipperZero(iOS)' -derivedDataPath output/DerivedData -enableCodeCoverage YES test -destination platform='iOS Simulator,name=iPhone 11' >/dev/null 2>&1
Expand Down

0 comments on commit a73b794

Please sign in to comment.