Skip to content

Instantly share code, notes, and snippets.

@stepbester
Last active August 26, 2022 18:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stepbester/e898f8c6468fd06e185d1f0291f972e3 to your computer and use it in GitHub Desktop.
Save stepbester/e898f8c6468fd06e185d1f0291f972e3 to your computer and use it in GitHub Desktop.
An example step in Azure Pipelines that passes a test run parameter to the .NET CLI
steps:
- task: DotNetCoreCLI@2
displayName: 'Run warp core tests'
inputs:
command: 'test'
projects: 'Starfleet.WarpCore.Test.csproj'
arguments: '-- TestRunParameters.Parameter(name="\""shipName"\"", value="\""Enterprise"\"")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment