- Operating system: Ubuntu 20.04
- SonarLint plugin version: 3.22.0
- Programming language you’re coding in: Python
- Is connected mode used: Connected to SonarCloud
I have read other posts about this problem but they are not quite the same as mine.
The closest is this one: PR Checks Submitted But Results Not Returning - #8 by janos , but sadly i don’t have the github admin privileges to check if its actually “The SonarCloud check”
I have the following status on a PR:
But SonarCloud has already returned:
Previously, I was generating and commiting the coverage.xml file and it worked fine. But we changed to do this automatically with the following action:
name: sonarcloud-analysis
on:
push:
branches:
- 'develop'
pull_request:
branches:
- 'develop'
- 'prod'
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install tox and any other packages
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run tox
run: tox -e py
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Is there anything else i can try before bothering my admin and have a long discussion on why we need to try to uncheck the SonarCloud check?