I need you to modify this script to also set the size, if the test has the…
- User
User: I need you to modify this script to also set the size, if the test has the [PipelineSize("2x"), or 4x, or 8x
If no PipelineSize is set, then the size should not be set for the step..
#!/bin/bash
Extract unique categories from .cs files
CATEGORIES=$(grep -rho '[Trait("Category", "[^"]*")]' --include=*.cs ../tagomat.tests | sed -E 's/[Trait("Category", "([^"]+)")]/\1/' | sort -u)
EXCLUDE_FILTER="" run_step() { local NAME=2 local SAFE_NAME=NAME" | sed 's/[^a-zA-Z0-9_-]/-/g') # Sanitize name
echo " - step:" echo " max-time: 15" #echo " size: 2x" echo " name: "Test NAME\"" echo " script:" echo " - set -e" echo " - dotnet test publish/tagomat.tests.dll --filter \"FILTER" --blame --blame-hang --blame-hang-timeout 12min --logger:"junit;LogFilePath=./test-reports/results-?" }
- Assistant