ci: add missing runs-on
This commit is contained in:
parent
a7fddf6c02
commit
5a80c9b99c
1 changed files with 41 additions and 40 deletions
|
@ -4,6 +4,7 @@ on: [ push ]
|
|||
|
||||
jobs:
|
||||
build-server:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup dotnet
|
||||
|
@ -12,7 +13,7 @@ jobs:
|
|||
dotnet-version: 7.0
|
||||
run: |
|
||||
dotnet build Continuity -c Release
|
||||
# dotnet test Continuity.Tests -c Release
|
||||
# dotnet test Continuity.Tests -c Release
|
||||
export SONAR_TOKEN=${{secrets.SONAR_TOKEN}}
|
||||
export SONAR_PROJECT_KEY=${{secrets.SONAR_PROJECT_KEY}}
|
||||
export SONAR_HOST_URL=${{secrets.SONAR_HOST_URL}}
|
||||
|
@ -47,8 +48,8 @@ jobs:
|
|||
- name: Sonarqube Scan
|
||||
run: |
|
||||
dotnet build
|
||||
# dotnet test --collect "Code Coverage" --logger trx --results-directory "TestsResults"
|
||||
# dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml'
|
||||
# dotnet test --collect "Code Coverage" --logger trx --results-directory "TestsResults"
|
||||
# dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml'
|
||||
- name: Sonarqube End
|
||||
run: |
|
||||
dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
|
||||
|
|
Loading…
Reference in a new issue