From 1ba9803a3e43e2a8e4c0b8dc7a578beff141f3d8 Mon Sep 17 00:00:00 2001 From: Gabriel Santos Date: Wed, 18 Dec 2024 12:13:15 -0300 Subject: [PATCH] Add to test --- .github/workflows/check_sonar_tests.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check_sonar_tests.yml b/.github/workflows/check_sonar_tests.yml index 34e03d7..1ee6454 100644 --- a/.github/workflows/check_sonar_tests.yml +++ b/.github/workflows/check_sonar_tests.yml @@ -27,14 +27,24 @@ jobs: - name: Install dependencies run: | - # Install required tools - brew update - brew install cocoapods swiftlint oclint - sudo gem install -n /usr/local/bin xcpretty + # Update Homebrew + brew update - # Install project dependencies - pod install --project-directory=Example + # Install SwiftLint + brew install swiftlint + # Install Tailor + brew install tailor + + # Install xcpretty + sudo gem install -n /usr/local/bin xcpretty + + # Install Lizard + brew install lizard + + # Install xcodebuild (part of Xcode Command Line Tools) + xcode-select --install || echo "Xcode Command Line Tools already installed" + - name: Run Sonar-Swift Script run: | chmod +x ./run-sonar-swift.sh