mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
[macOS] Pester tests invocation after install - 2. (#2429)
* [macOS] Fail Pester tests on error * return it back * added new tests * added new tests for Macos part2 * fixed nitpicks * vsmac changes * remove toolcache fron high sierra
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash -e -o pipefail
|
||||
|
||||
source ~/utils/invoke-tests.sh
|
||||
source ~/utils/utils.sh
|
||||
|
||||
echo "Install SwiftLint"
|
||||
@@ -7,3 +7,5 @@ swiftlintUrl=$(curl -s "https://api.github.com/repos/realm/SwiftLint/releases/la
|
||||
download_with_retries $swiftlintUrl "/tmp" "SwiftLint.pkg"
|
||||
sudo installer -pkg /tmp/SwiftLint.pkg -target /
|
||||
rm -rf /tmp/SwiftLint.pkg
|
||||
|
||||
invoke_tests "Linters" "SwiftLint"
|
||||
Reference in New Issue
Block a user