Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeugma440 committed Aug 18, 2024
2 parents 485281b + 975d4e7 commit 1d8119e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Restore dependencies
run: dotnet restore ATL.unit-test
- name: Run SonarScanner
run: dotnet sonarscanner begin /k:"Zeugma440_atldotnet" /o:"zeugma440-github" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.token=bec4b9622d9d1f065adeadfb0b02c4f272bf2e7a" /d:sonar.sourceEncoding="UTF-8" /d:sonar.cs.opencover.reportsPaths="${GITHUB_WORKSPACE}/ATL.unit-test/lcov.info"
run: dotnet sonarscanner begin /k:"Zeugma440_atldotnet" /o:"zeugma440-github" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.token=${{ secrets.SONAR_TOKEN }}" /d:sonar.sourceEncoding="UTF-8" /d:sonar.cs.opencover.reportsPaths="${GITHUB_WORKSPACE}/ATL.unit-test/lcov.info"

- name: Test
run: dotnet test ATL.unit-test --verbosity normal --results-directory "TestResults"
Expand All @@ -50,4 +50,4 @@ jobs:
# fail_ci_if_error: true # optional (default = false)
# verbose: true # optional (default = false)
- name: Upload to SonarScanner
run : dotnet sonarscanner end /d:"sonar.token=bec4b9622d9d1f065adeadfb0b02c4f272bf2e7a"
run : dotnet sonarscanner end /d:"sonar.token=${{ secrets.SONAR_TOKEN }}"

0 comments on commit 1d8119e

Please sign in to comment.