File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 31
31
steps :
32
32
- name : Checkout GitHub repo
33
33
uses : actions/checkout@v4
34
+ - name : Install Safari Technology Preview
35
+ if : matrix.os == 'macos-latest'
36
+ run : |
37
+ brew install --cask safari-technology-preview
34
38
- name : Remove driver directories Windows
35
39
if : matrix.os == 'windows-latest'
36
40
run : |
80
84
with :
81
85
distribution : ' temurin'
82
86
java-version : 11
87
+ - name : Install and Configure Safari and WebDriver
88
+ if : matrix.os == 'macos-latest'
89
+ run : |
90
+ # Check if safaridriver exists
91
+ if [[ ! -f "/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver" ]]; then
92
+ echo "safaridriver not found. Exiting."
93
+ exit 1
94
+ fi
83
95
- name : Run tests
84
96
uses : nick-invision/retry@v3.0.0
85
97
with :
You can’t perform that action at this time.
0 commit comments