Update pwsh style to latest community standards #52
25
.drone.yml
25
.drone.yml
@ -30,3 +30,28 @@ steps:
|
|||||||
from_secret: CodeCovToken
|
from_secret: CodeCovToken
|
||||||
files:
|
files:
|
||||||
- coverage.xml
|
- coverage.xml
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
|
||||||
|
plattform:
|
||||||
|
os: windows
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Environments
|
||||||
|
image: mcr.microsoft.com/powershell:lts-7.2-nanoserver-1809
|
||||||
|
commands:
|
||||||
|
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1' -Verbose; Invoke-ShowEnv -Verbose}"
|
||||||
|
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1' -Verbose; Invoke-InstallDependencies -Verbose}"
|
||||||
|
- name: LintTests
|
||||||
|
image: mcr.microsoft.com/powershell:lts-7.2-nanoserver-1809
|
||||||
|
commands:
|
||||||
|
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}"
|
||||||
|
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-Linter}"
|
||||||
|
- name: UnitTests
|
||||||
|
image: mcr.microsoft.com/powershell:lts-7.2-nanoserver-1809
|
||||||
|
commands:
|
||||||
|
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}"
|
||||||
|
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-UnitTests}"
|
||||||
|
Loading…
Reference in New Issue
Block a user