You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
96
+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
97
+
run: |
98
+
dotnet sonarscanner begin /k:"masastack_MASA.Framework" /o:"masastack" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
99
+
dotnet build /p:ContinuousIntegrationBuild=true
100
+
# dotnet test --filter FullyQualifiedName!~Masa.Utils --no-build --verbosity normal --collect "Code Coverage" /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[*.Tests]*"
101
+
dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
102
+
103
+
- name: Opencover Test
104
+
run: |
105
+
dotnet test --filter FullyQualifiedName~Masa.Contrib --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[*.Tests]*"
106
+
107
+
- name: codecov
108
+
uses: codecov/codecov-action@v2
88
109
89
110
# - name: Install SonarCloud scanner
90
111
# run: |
@@ -95,10 +116,10 @@ env:
95
116
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
96
117
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
97
118
# run: |
98
-
# dotnet sonarscanner begin /k:"masastack_MASA.Framework" /o:"masastack" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
0 commit comments