From e9f9cf6a1d42b2c2ddb1eb47a720d5fb02e23646 Mon Sep 17 00:00:00 2001 From: octeep Date: Mon, 22 May 2023 17:42:05 +0100 Subject: [PATCH] fix CI --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 34cc5e9..20aceb3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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