Skip to content

Commit

Permalink
fix CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
paescebu committed Sep 21, 2023
1 parent dfd263f commit 706e057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/RunCompleteUnitTestSuite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ set -o pipefail

#try to build Unit Test Target and fail on failure
echo "Just trying to build"
arch -arm64 swift build
swift build

#Run Unit Test but dont fail on failure so that results can be parsed for github
set +ex
set +o pipefail
echo "Running Unit Tests"

arch -arm64 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -scheme PolynomialRegressionSwift -destination "platform=iOS Simulator,name=iPhone 12" -enableCodeCoverage YES -derivedDataPath "derivedData" clean test | xcpretty -r junit
xcodebuild -scheme PolynomialRegressionSwift -destination "platform=iOS Simulator,name=iPhone 12" -enableCodeCoverage YES -derivedDataPath "derivedData" clean test | xcpretty -r junit

0 comments on commit 706e057

Please sign in to comment.