From af17d77aded31083206e0b6a38a18110b26aa0e6 Mon Sep 17 00:00:00 2001 From: Pascal Grimaud Date: Fri, 18 Mar 2022 09:13:38 +0100 Subject: [PATCH] CI: move codecov after cypress --- .github/workflows/github-actions.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 7c650059d3c..402186696db 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -65,14 +65,14 @@ jobs: run: | chmod +x mvnw ./mvnw clean verify sonar:sonar - - name: 'Check local Sonar Analysis' + - name: 'Analysis: local Sonar' run: | sleep 15 ./tests-ci/sonar.sh - name: 'Analysis: SonarCloud' if: github.repository == 'jhipster/jhipster-lite' && github.ref == 'refs/heads/main' env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} run: ./mvnw initialize sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.projectKey=jhipster_jhipster-lite -Dsonar.organization=jhipster - name: 'Artifact: upload JaCoCo report' @@ -192,7 +192,7 @@ jobs: # Send analysis to Codecov #-------------------------------------------------- codecov: - needs: generation + needs: cypress name: codecov if: github.repository == 'jhipster/jhipster-lite' runs-on: ubuntu-latest