Skip to content

Commit

Permalink
Merge branch 'main' into code_signing_workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 authored Feb 9, 2024
2 parents de45f15 + b835d21 commit 0f1268a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ jobs:
- name: Build & Test
run: make test

- name: Install SonarCloud scanner and run analysis
if: (github.event_name == 'pull_request' || github.ref_type == 'branch') && !github.event.pull_request.head.repo.fork
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}
TWILIO_API_KEY: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY }}
TWILIO_API_SECRET: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY_SECRET }}
TWILIO_FROM_NUMBER: ${{ secrets.TWILIO_FROM_NUMBER }}
TWILIO_TO_NUMBER: ${{ secrets.TWILIO_TO_NUMBER }}
run: |
dotnet tool install --global dotnet-sonarscanner
make cover
# - name: Install SonarCloud scanner and run analysis
# if: (github.event_name == 'pull_request' || github.ref_type == 'branch') && !github.event.pull_request.head.repo.fork
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}
# TWILIO_API_KEY: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY }}
# TWILIO_API_SECRET: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY_SECRET }}
# TWILIO_FROM_NUMBER: ${{ secrets.TWILIO_FROM_NUMBER }}
# TWILIO_TO_NUMBER: ${{ secrets.TWILIO_TO_NUMBER }}
# run: |
# dotnet tool install --global dotnet-sonarscanner
# make cover

deploy:
name: Deploy
Expand Down

0 comments on commit 0f1268a

Please sign in to comment.