github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/github/testdata/build-and-test/powershell.yaml.golden (about)

     1  kind: pipeline
     2  spec:
     3    stages:
     4    - name: pester-test
     5      spec:
     6        clone: {}
     7        platform:
     8          arch: amd64
     9          os: linux
    10        runtime:
    11          spec: {}
    12          type: cloud
    13        steps:
    14        - name: Perform a Pester test from the command-line
    15          spec:
    16            run: Test-Path resultsfile.log | Should -Be $true
    17          type: script
    18        - name: Perform a Pester test from the Tests.ps1 file
    19          spec:
    20            run: Invoke-Pester Unit.Tests.ps1 -Passthru
    21          type: script
    22      type: ci
    23  version: 1