Skip to content

Commit 1184789

Browse files
committed
ci: fix path
1 parent 7e1b23e commit 1184789

File tree

1 file changed

+27
-22
lines changed

1 file changed

+27
-22
lines changed

.github/workflows/ui-tests.yml

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,16 @@ jobs:
6767
- uses: actions/checkout@v3
6868
with:
6969
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"
8080
- name: Install ChromeDriver via Homebrew
8181
run: brew install --cask chromedriver
8282
- name: Verify ChromeDriver and Chrome
@@ -96,21 +96,26 @@ jobs:
9696
echo 'fi' >> ~/custom-bin/open
9797
chmod +x ~/custom-bin/open
9898
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
111114
env:
112115
PATH: $HOME/custom-bin:$PATH
113116
run: |
117+
export PATH=$HOME/custom-bin:$PATH
118+
echo "PATH: $PATH"
114119
which open
115120
echo "Testing custom open command with Chrome..."
116121
open "https://www.google.com"

0 commit comments

Comments
 (0)