PSCredentialStore/.drone.yml

47 lines
980 B
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:
2022-06-27 16:26:45 +02:00
- |
pwsh -NonInteractive -c "& {
Import-Module './tools/DroneIO.psm1' -Verbose;
Invoke-ShowEnv -Verbose
}"
2022-06-27 13:48:13 +02:00
- name: LintTests
image: mcr.microsoft.com/powershell:latest
commands:
2022-06-27 16:26:45 +02:00
- |
pwsh -NonInteractive -c "& {
Import-Module './tools/DroneIO.psm1';
Invoke-InstallDependencies;
Invoke-Linter
}"
2022-06-27 13:48:13 +02:00
- name: UnitTests
image: mcr.microsoft.com/powershell:latest
commands:
2022-06-27 16:26:45 +02:00
- |
pwsh -NonInteractive -c "& {
Import-Module './tools/DroneIO.psm1';
Invoke-InstallDependencies;
Invoke-UnitTest
}"
2022-06-27 13:48:13 +02:00
- name: coverage
image: plugins/codecov
settings:
token:
from_secret: CodeCovToken
files:
- coverage.xml