mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
* implement first pester tests * add comment for azcopy test * remove extra importing and old function * resolve comments * fix typo
13 lines
481 B
Bash
13 lines
481 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: invoke-tests.sh
|
|
## 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"
|
|
} |