Update tests
This commit is contained in:
parent
a42410822f
commit
d108c4a3c9
8
.github/workflows/test_set_2.yml
vendored
8
.github/workflows/test_set_2.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
if: github.repository_owner == 'hwdsl2'
|
||||
strategy:
|
||||
matrix:
|
||||
os_version: ["ubuntu:22.04", "ubuntu:20.04", "debian:12", "debian:11", "debian:10", "alpine:3.19", "alpine:3.18"]
|
||||
os_version: ["ubuntu:24.04", "ubuntu:22.04", "ubuntu:20.04", "debian:12", "debian:11", "debian:10", "alpine:3.19", "alpine:3.18"]
|
||||
fail-fast: false
|
||||
container:
|
||||
image: ${{ matrix.os_version }}
|
||||
@ -495,7 +495,8 @@ jobs:
|
||||
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh
|
||||
|
||||
for ver in 4.14 ""; do
|
||||
if [ "$os_type" = "alpine" ]; then
|
||||
if [ "$os_type" = "alpine" ] \
|
||||
|| grep -qs trixie /etc/debian_version; then
|
||||
ipsec whack --shutdown || true
|
||||
fi
|
||||
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
||||
@ -518,7 +519,8 @@ jobs:
|
||||
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
|
||||
|
||||
for ver in 4.15 ""; do
|
||||
if [ "$os_type" = "alpine" ]; then
|
||||
if [ "$os_type" = "alpine" ] \
|
||||
|| grep -qs trixie /etc/debian_version; then
|
||||
ipsec whack --shutdown || true
|
||||
fi
|
||||
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
||||
|
Loading…
Reference in New Issue
Block a user