From 08796c1ceea15c11ac488c7e93b2779ae6bcded0 Mon Sep 17 00:00:00 2001 From: Mister-Mario Date: Sun, 28 Apr 2024 10:33:27 +0200 Subject: [PATCH] Modified e2e for sonar to also analyse the coverage --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e4bb680b..01080972 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,4 +45,9 @@ jobs: - run: npm --prefix gatewayservice install - run: npm --prefix webapp install - run: npm --prefix webapp run build - - run: npm --prefix webapp run test:e2e \ No newline at end of file + - run: npm --prefix webapp run test:e2e + - name: Analyze with SonarCloud + uses: sonarsource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file