mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
[macOS] Get rid of invoke_tests imports (#2496)
* get rid of invoke_tests imports * add sudo * change path to /usr/bin/invoke_tests * create /usr/local/bin dir * remove local variables * fix group owner * set default 775 perm * delete invoke_tests symlink
This commit is contained in:
committed by
GitHub
parent
8450762c10
commit
caa7a1ac6d
@@ -1,10 +1,5 @@
|
||||
#!/bin/bash -e -o pipefail
|
||||
|
||||
invoke_tests() {
|
||||
local TEST_FILE="$1"
|
||||
local TEST_NAME="$2"
|
||||
|
||||
source $HOME/.bashrc
|
||||
pwsh -Command "Import-Module '$HOME/image-generation/helpers/Tests.Helpers.psm1' -DisableNameChecking
|
||||
Invoke-PesterTests -TestFile \"$TEST_FILE\" -TestName \"$TEST_NAME\""
|
||||
}
|
||||
source $HOME/.bashrc
|
||||
pwsh -Command "Import-Module '$HOME/image-generation/helpers/Tests.Helpers.psm1' -DisableNameChecking
|
||||
Invoke-PesterTests -TestFile \"$1\" -TestName \"$2\""
|
||||
|
||||
Reference in New Issue
Block a user