mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
[Ubuntu] Create symlink for Pester test running (#2349)
* Create symlink for test running * Fix 1604 and 2004 templates * Fix php and haskell running * Minor fix * Fix new added tests * Fix symlink * Minor fix * Fix script permissions * Minor fix * Fix firefox and rust tests * Fix new merged tests
This commit is contained in:
committed by
GitHub
parent
81909fddd5
commit
0ae118c6ae
@@ -4,10 +4,5 @@
|
||||
## Desc: Helper function for invoking tests
|
||||
################################################################################
|
||||
|
||||
invoke_tests() {
|
||||
local TEST_FILE="$1"
|
||||
local TEST_NAME="$2"
|
||||
|
||||
pwsh -Command "Import-Module '$HELPER_SCRIPTS/Tests.Helpers.psm1' -DisableNameChecking
|
||||
Invoke-PesterTests -TestFile \"$TEST_FILE\" -TestName \"$TEST_NAME\""
|
||||
}
|
||||
pwsh -Command "Import-Module '$HELPER_SCRIPTS/Tests.Helpers.psm1' -DisableNameChecking
|
||||
Invoke-PesterTests -TestFile \"$1\" -TestName \"$2\""
|
||||
|
||||
Reference in New Issue
Block a user