Skip to content

Commit

Permalink
run sonar cloud test before coverage report generation
Browse files Browse the repository at this point in the history
  • Loading branch information
bechte committed Jul 15, 2024
1 parent 7faa29b commit f1998a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/buildandtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ jobs:
mkdir -p "$HYBRIS_LOG_DIR/junit"
touch "$HYBRIS_LOG_DIR/junit/jacoco-integration.exec"
fi
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Coverage Report
env:
TOKEN: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -100,8 +105,3 @@ jobs:
else
./codecov -f $HYBRIS_LOG_DIR/junit/jacoco.xml -Z --build $GITHUB_RUN_ID --tag GITHUB_REF_NAME -t $TOKEN
fi
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit f1998a1

Please sign in to comment.