From d675caa81d4d899f86729a9bbbb18a7e5cdfcf0b Mon Sep 17 00:00:00 2001 From: OCram85 Date: Fri, 2 Oct 2020 15:21:40 +0200 Subject: [PATCH] use codecov plugin (SkipLint) --- .drone.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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