Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hwdsl2 committed May 18, 2024
1 parent a424108 commit d108c4a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test_set_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d108c4a

Please sign in to comment.