PSCredentialStore/.drone.yml

59 lines
2.1 KiB
YAML
Raw Normal View History

2022-06-27 13:48:13 +02:00
---
kind: pipeline
type: docker
name: Linux_PWSH7_Build
platform:
os: linux
arch: amd64
steps:
- name: Environments
image: mcr.microsoft.com/powershell:latest
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:latest
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:latest
commands:
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}"
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-UnitTests}"
- name: coverage
image: plugins/codecov
settings:
token:
from_secret: CodeCovToken
files:
- coverage.xml
---
kind: pipeline
type: docker
2022-06-27 13:49:26 +02:00
name: WINDOWS_PWSH7_Build
2022-06-27 13:48:13 +02:00
2022-06-27 13:49:26 +02:00
platform:
os: linux
2022-06-27 13:48:13 +02:00
arch: amd64
steps:
2022-06-27 13:49:26 +02:00
- name: Environments
image: mcr.microsoft.com/powershell:lts-windowsservercore-ltsc2022
2022-06-27 13:48:13 +02:00
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
2022-06-27 13:49:26 +02:00
image: mcr.microsoft.com/powershell:lts-windowsservercore-ltsc2022
2022-06-27 13:48:13 +02:00
commands:
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}"
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-Linter}"
- name: UnitTests
2022-06-27 13:49:26 +02:00
image: mcr.microsoft.com/powershell:lts-windowsservercore-ltsc2022
2022-06-27 13:48:13 +02:00
commands:
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}"
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-UnitTests}"