SQSCANGHA-31 Stop making SONAR_HOST_URL mandatory

This commit is contained in:
Julien HENRY
2024-05-23 08:40:45 +02:00
parent 8c56bc3994
commit 44de84c3e8
2 changed files with 0 additions and 22 deletions

View File

@@ -45,23 +45,6 @@ jobs:
- name: Assert
run: |
./test/assertFileContains ./output.properties "sonar.projectBaseDir=.*/baseDir"
sonarHostUrlRequiredTest:
name: >
'SONAR_HOST_URL' is required
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run action without SONAR_HOST_URL
id: runTest
uses: ./
continue-on-error: true
- name: Previous should have failed
if: ${{ steps.runTest.outcome == 'success'}}
run: |
echo "Expected previous step to fail"
exit 1
dontFailGradleTest:
name: >
Don't fail on Gradle project