Skip to content

Commit

Permalink
(PC-34781) feat(sonar): update SonarCloud scan names (#7747)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeneston-pass authored Feb 25, 2025
1 parent 097590b commit 129b72c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/dev_on_workflow_tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ concurrency:

env:
JEST_JUNIT_OUTPUT_DIR: ./reports/junit/

jobs:
yarn_test_web:
name: 'Run Web unit tests'
Expand Down Expand Up @@ -107,6 +108,7 @@ jobs:
restore-keys: |
v1-coverage-dependency-cache-${{ runner.os }}-${{ github.sha }}-${{ matrix.shard }}
key: v1-coverage-dependency-cache-${{ runner.os }}-${{ github.sha }}-${{ matrix.shard }}

report-coverage:
runs-on: ubuntu-22.04
needs: yarn_test_native
Expand Down Expand Up @@ -143,13 +145,14 @@ jobs:
npx nyc merge coverage coverage/coverage-final.json
npx nyc report -t coverage --report-dir coverage --reporter=clover --reporter=lcov
rm coverage/[0-9].json
- name: SonarCloud scan
- name: SonarCloud scan - App & Webapp
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ steps.sonar_secrets.outputs.SONAR_TOKEN }}
with:
projectBaseDir: .

yarn_test_proxy:
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -186,13 +189,14 @@ jobs:
with:
secrets: |-
SONAR_TOKEN:passculture-metier-ehp/passculture-app-native-sonar-token
- name: SonarCloud scan
- name: SonarCloud scan - Proxy
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ steps.sonar_secrets.outputs.SONAR_TOKEN }}
with:
projectBaseDir: server

slack_notify:
runs-on: ubuntu-22.04
if: ${{ always() && github.ref == 'refs/heads/master' }}
Expand Down

0 comments on commit 129b72c

Please sign in to comment.