Skip to content

Commit

Permalink
ci: use fullpath for pip3 and python3
Browse files Browse the repository at this point in the history
  • Loading branch information
liudongmiao committed Apr 28, 2024
1 parent a8b5f71 commit 633dd62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: brew install shadowsocks-libev shadowsocks-rust v2ray-plugin

- name: Install PySocks
run: pip3 install PySocks
run: /usr/bin/pip3 install PySocks

- name: Test
working-directory: ${{github.workspace}}/build
Expand Down
6 changes: 3 additions & 3 deletions run-test-udp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ else
ssserver=./ssserver
fi

python3 ../testcase/udp-echo-server.py &
/usr/bin/python3 ../testcase/udp-echo-server.py &
echo_server_pid=$!

$ssserver -c ../testcase/sip003u-server.json &
Expand All @@ -32,7 +32,7 @@ echo wss-proxy udp client - ss
$sslocal -c ../testcase/sip003u-client-ss.json &
lpid=$!
sleep 1
if ! python3 ../testcase/check-udp.py; then
if ! /usr/bin/python3 ../testcase/check-udp.py; then
exit 1
fi

Expand All @@ -42,6 +42,6 @@ echo wss-proxy udp client - wss
$sslocal -c ../testcase/sip003u-client-ws.json &
lpid=$!
sleep 1
if ! python3 ../testcase/check-udp.py; then
if ! /usr/bin/python3 ../testcase/check-udp.py; then
exit 1
fi

0 comments on commit 633dd62

Please sign in to comment.