@@ -67,16 +67,16 @@ jobs:
67
67
- uses : actions/checkout@v3
68
68
with :
69
69
lfs : true
70
- - uses : actions/download-artifact@v4
71
- with :
72
- name : Build-${{ matrix.targetPlatform }}
73
- path : sample/Tests
74
- - name : Make macOS artifact executable
75
- if : ${{ matrix.targetPlatform == 'StandaloneOSX' }}
76
- run : chmod +x sample/Tests/SampleApp.app/Contents/MacOS/*
77
- - uses : actions/setup-python@v4
78
- with :
79
- python-version : " 3.10"
70
+ # - uses: actions/download-artifact@v4
71
+ # with:
72
+ # name: Build-${{ matrix.targetPlatform }}
73
+ # path: sample/Tests
74
+ # - name: Make macOS artifact executable
75
+ # if: ${{ matrix.targetPlatform == 'StandaloneOSX' }}
76
+ # run: chmod +x sample/Tests/SampleApp.app/Contents/MacOS/*
77
+ # - uses: actions/setup-python@v4
78
+ # with:
79
+ # python-version: "3.10"
80
80
- name : Install ChromeDriver via Homebrew
81
81
run : brew install --cask chromedriver
82
82
- name : Verify ChromeDriver and Chrome
@@ -96,21 +96,26 @@ jobs:
96
96
echo 'fi' >> ~/custom-bin/open
97
97
chmod +x ~/custom-bin/open
98
98
echo 'export PATH=~/custom-bin:$PATH' >> $GITHUB_ENV
99
- - name : Install dependencies
100
- run : pip install selenium
101
- - name : Install dependencies (Mac)
102
- if : ${{ matrix.targetPlatform != 'StandaloneWindows64' }}
103
- run : |
104
- if [[ "${{ matrix.targetPlatform }}" == "StandaloneOSX" ]]; then
105
- pip uninstall -y browserstack-sdk || true
106
- pip install -r "sample/Tests/requirements-desktop.txt"
107
- else
108
- pip install -r "sample/Tests/requirements-mobile.txt"
109
- fi
110
- - name : Open URL
99
+ - name : Export Updated PATH
100
+ run : echo "PATH=$HOME/custom-bin:\$PATH" >> $GITHUB_ENV
101
+ # - name: Install dependencies
102
+ # run: pip install selenium
103
+ # - name: Install dependencies (Mac)
104
+ # if: ${{ matrix.targetPlatform != 'StandaloneWindows64' }}
105
+ # run: |
106
+ # if [[ "${{ matrix.targetPlatform }}" == "StandaloneOSX" ]]; then
107
+ # pip uninstall -y browserstack-sdk || true
108
+ # pip install -r "sample/Tests/requirements-desktop.txt"
109
+ # else
110
+ # pip install -r "sample/Tests/requirements-mobile.txt"
111
+ # fi
112
+ - name : Test Custom Open Command
113
+ shell : bash
111
114
env :
112
115
PATH : $HOME/custom-bin:$PATH
113
116
run : |
117
+ export PATH=$HOME/custom-bin:$PATH
118
+ echo "PATH: $PATH"
114
119
which open
115
120
echo "Testing custom open command with Chrome..."
116
121
open "https://www.google.com"
0 commit comments