mirror of
https://github.com/whyvl/wireproxy.git
synced 2025-06-28 00:58:00 +02:00
fix CI
This commit is contained in:
parent
80898e2348
commit
e9f9cf6a1d
1 changed files with 3 additions and 1 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -34,4 +34,6 @@ jobs:
|
|||
- name: Test http with password
|
||||
run: curl --proxy http://peter:hunter123@localhost:64424 http://zx2c4.com/ip | grep -q "demo.wireguard.com"
|
||||
- name: Test http with wrong password
|
||||
run: bash -c "! curl --proxy http://peter:wrongpass@localhost:64424 http://zx2c4.com/ip"
|
||||
run: |
|
||||
curl -s --fail --proxy http://peter:hunter123@localhost:64425 http://zx2c4.com/ip
|
||||
if [[ $? == 0 ]]; then exit 1; fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue