use codecov plugin (SkipLint)

This commit is contained in:
OCram85 2020-10-02 15:21:40 +02:00
parent 611468f6d0
commit d675caa81d

View File

@ -23,5 +23,10 @@ steps:
commands: commands:
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}" - pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}"
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-UnitTests}" - pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-UnitTests}"
- bash curl -s https://codecov.io/bash -o codecov.sh - name: coverage
- bash codecov.sh -f 'coverage.xml' image: plugins/codecov
settings:
token:
from_secret: CodeCovToken
files:
- coverage.xml