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