Skip to content

Commit

Permalink
Add to test
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielnedersantos committed Dec 19, 2024
1 parent f02241e commit 3de4460
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/check_sonar_tests.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
name: CI - iOS
name: CI - iOS Quality Check

on:
pull_request:
types: [opened, edited, reopened, synchronize]
workflow_dispatch:

env:
GH_TOKEN: ${{ secrets.GIT_TOKEN_SECRET }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
PR_NUMBER: ${{ github.event.number }}
BRANCH_ORIGIN: ${{ github.head_ref }}
BASE_BRANCH: ${{ github.base_ref }}
SONAR_HOST_URL: "https://sonarqube.trustly.one"
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_SECRET }}
SONAR_HOST_URL: "https://sonarqube.trustly.one"
SONAR_PROJECT_KEY: "trustly-ios"
SONAR_PROJECT_NAME: "trustly-ios"

Expand Down Expand Up @@ -61,7 +58,7 @@ jobs:
run: |
# Create sonar-project.properties or update it dynamically
echo "sonar.host.url=${{ env.SONAR_HOST_URL }}" >> sonar-project.properties
echo "sonar.projectKey=${{ env.SONAR_PROJECT_KEY }}}" >> sonar-project.properties
echo "sonar.projectKey=${{ env.SONAR_PROJECT_KEY }}" >> sonar-project.properties
echo "sonar.projectName=${{ env.SONAR_PROJECT_NAME }}" >> sonar-project.properties
echo "sonar.login=${{ secrets.SONAR_TOKEN_SECRET }}" >> sonar-project.properties
echo "sonar.pullrequest.key=${{ github.event.number }}" >> sonar-project.properties
Expand Down

0 comments on commit 3de4460

Please sign in to comment.