mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-24 10:28:10 +08:00
* [macOS] change Invoke-Pester function * added new logic * try another approach. * invoke-tests change * added a little bunch of tests. * remove import from browsers * added source for all tests covered scripts. * run all tests. * added proper module import * RunAll-Tests.ps1 changes. * added shebang * added new approach for tests. * the first line should be shebang * fixed nitpicks
13 lines
330 B
Bash
13 lines
330 B
Bash
#!/bin/bash -e -o pipefail
|
|
source ~/utils/invoke-tests.sh
|
|
|
|
echo "Installing Firefox..."
|
|
brew cask install firefox
|
|
|
|
echo "Installing Geckodriver..."
|
|
brew install geckodriver
|
|
|
|
echo "Add GECKOWEBDRIVER to bashrc..."
|
|
echo "export GECKOWEBDRIVER=$(brew --prefix geckodriver)/bin" >> "${HOME}/.bashrc"
|
|
|
|
invoke_tests "Browsers" "Firefox" |