Skip to content

Commit

Permalink
ci: remove sonar result as dependency of publishing docker
Browse files Browse the repository at this point in the history
  • Loading branch information
pl-buiquang committed Nov 27, 2024
1 parent 5656046 commit f69487f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
${{ runner.os }}-pip-
- name: Install system deps
run: |
run: |
sudo apt-get update && sudo apt-get -y install gcc libkrb5-dev
sudo locale-gen fr_FR.utf8
sudo update-locale
Expand All @@ -97,7 +97,21 @@ jobs:
coverage run --source='.' --omit="*/test*","*/migrations/*" manage.py test
coverage xml --omit="*/test*","*/migrations/*" -o coverage.xml
coverage html --omit="*/test*","*/migrations/*" -d htmlcov
- name: Upload coverage report
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: coverage.xml


sonar:
needs: test
runs-on: ubuntu-latest
steps:
- name: Download coverage report
uses: actions/download-artifact@v3
with:
name: coverage-report
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
Expand Down

0 comments on commit f69487f

Please sign in to comment.