File tree Expand file tree Collapse file tree 4 files changed +15
-134
lines changed Expand file tree Collapse file tree 4 files changed +15
-134
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ jobs:
17
17
dotnet-version : 2.2.108
18
18
- run : dotnet build --configuration Release
19
19
- name : test with dotnet
20
- run : dotnet test /p:CollectCoverage=true /p:Exclude="[KubernetesClient]k8s.Models.*" /p:Exclude="[ KubernetesClient]k8s.Internal.*" /p:CollectCoverage=true /p:CoverletOutputFormat="cobertura"
21
- - uses : 5monkeys/cobertura-action@master
22
- with :
23
- path : tests/KubernetesClient.Tests/coverage.netcoreapp2.1.cobertura.xml
24
- repo_token : ${{ secrets.GITHUB_TOKEN }}
25
- minimum_coverage : 0
20
+ run : dotnet test /p:CollectCoverage=true /p:ExcludeByFile=\"**/ KubernetesClient/generated/**/*.cs\" /p:CoverletOutputFormat="cobertura"
21
+ # - uses: 5monkeys/cobertura-action@master
22
+ # with:
23
+ # path: tests/KubernetesClient.Tests/coverage.netcoreapp2.1.cobertura.xml
24
+ # repo_token: ${{ secrets.GITHUB_TOKEN }}
25
+ # minimum_coverage: 0
26
26
27
27
on :
28
28
pull_request :
Original file line number Diff line number Diff line change 15
15
uses : actions/setup-dotnet@v1
16
16
with :
17
17
dotnet-version : 2.2.108
18
+ - name : test with dotnet
19
+ run : dotnet test
18
20
- name : pack
19
21
run : dotnet pack --configuration Release src/KubernetesClient -o pkg
20
22
- name : push
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ script:
36
36
after_script :
37
37
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then ./integration-tests.sh; fi
38
38
39
- deploy :
40
- skip_cleanup : true
41
- provider : script
42
- script : dotnet nuget push src/KubernetesClient/bin/Release/KubernetesClient.*.nupkg --api-key $NUGET_API_KEY --source $NUGET_SOURCE
43
- on :
44
- branch : master
45
- condition : ' "x${NUGET_API_KEY}" != "x" && "x$NUGET_SOURCE" != "x" && "$TRAVIS_OS_NAME" == "linux"'
39
+ # deploy:
40
+ # skip_cleanup: true
41
+ # provider: script
42
+ # script: dotnet nuget push src/KubernetesClient/bin/Release/KubernetesClient.*.nupkg --api-key $NUGET_API_KEY --source $NUGET_SOURCE
43
+ # on:
44
+ # branch: master
45
+ # condition: '"x${NUGET_API_KEY}" != "x" && "x$NUGET_SOURCE" != "x" && "$TRAVIS_OS_NAME" == "linux"'
You can’t perform that action at this time.
0 commit comments