Skip to content

Commit

Permalink
Merge pull request #1076 from pascalgrimaud/ci-move-codecov-after-cyp…
Browse files Browse the repository at this point in the history
…ress

CI: move codecov after cypress
  • Loading branch information
pascalgrimaud authored Mar 18, 2022
2 parents f978a39 + af17d77 commit 47e9346
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 47e9346

Please sign in to comment.