Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/ruby-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
steps:
- name: Checkout GitHub repo
uses: actions/checkout@v4
- name: Install Safari Technology Preview
if: matrix.os == 'macos-latest'
run: |
brew install --cask safari-technology-preview
- name: Remove driver directories Windows
if: matrix.os == 'windows-latest'
run: |
Expand Down Expand Up @@ -80,6 +84,14 @@ jobs:
with:
distribution: 'temurin'
java-version: 11
- name: Install and Configure Safari and WebDriver
if: matrix.os == 'macos-latest'
run: |
# Check if safaridriver exists
if [[ ! -f "/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver" ]]; then
echo "safaridriver not found. Exiting."
exit 1
fi
- name: Run tests
uses: nick-invision/retry@v3.0.0
with:
Expand Down