sounisi5011/metalsmith-postcss2

View on GitHub
.template/azure-pipelines/jobs/single-test.yml

Summary

Maintainability
Test Coverage
parameters:
  vmImage: ubuntu-latest
  variables: {}

jobs:
  - job: ${{ parameters.jobName }}

    pool:
      vmImage: ${{ parameters.vmImage }}

    variables: ${{ parameters.variables }}

    steps:
      - template: ../steps/init-node.yml

      - ${{ each stepParams in parameters.steps }}:
          - script: ${{ stepParams.script }}

            ${{ if stepParams.label }}:
              displayName: ${{ stepParams.label }}

            ${{ if stepParams.timeoutMin }}:
              timeoutInMinutes: ${{ stepParams.timeoutMin }}
            ${{ if not(stepParams.timeoutMin) }}:
              timeoutInMinutes: 5

            ${{ if stepParams.env }}:
              env: ${{ stepParams.env }}

    cancelTimeoutInMinutes: 1