Skip to content

Commit

Permalink
Add to test
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielnedersantos committed Nov 25, 2024
1 parent 6fe569a commit 84b24c6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/sonar_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
with:
fetch-depth: 0

- name: Set up Xcode CLI Tools
run: |
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -34,15 +38,15 @@ jobs:
gem install cocoapods
pod install --project-directory=Example
- name: Install xcpretty
run: gem install xcpretty

- name: Generate Compilation Database
run: |
xcodebuild clean build | xcpretty -r json-compilation-database -o compile_commands.json
env:
PATH: "${PATH}:$(gem environment gemdir)/bin"

- name: List files
run: ls -la

- name: Run Tests
run: |
xcodebuild -workspace Example/TrustlySDK.xcworkspace \
Expand All @@ -52,7 +56,6 @@ jobs:
- name: Install Sonar Scanner
run: |
brew update
brew install sonar-scanner
- name: SonarQube Analysis
Expand Down

0 comments on commit 84b24c6

Please sign in to comment.