Update tests

This commit is contained in:
hwdsl2
2023-01-04 20:57:52 -06:00
parent d63e46e671
commit 750246beed
3 changed files with 4 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ jobs:
if: github.repository_owner == 'hwdsl2'
strategy:
matrix:
os_version: ["centos:9s", "centos:8s", "centos:7", "rockylinux:9", "rockylinux:8", "almalinux:9", "almalinux:8", "amazonlinux:2"]
os_version: ["centos:9s", "centos:8s", "centos:7", "rockylinux:8", "almalinux:9", "almalinux:8", "amazonlinux:2"]
fail-fast: false
env:
OS_VERSION: ${{ matrix.os_version }}
@@ -42,8 +42,7 @@ jobs:
cd /opt/src
yum -y -q update
yum -y -q install wget rsyslog kmod procps-ng net-tools
systemctl start rsyslog
yum -y -q install wget kmod procps-ng net-tools
cp -f /opt/src/scripts/openvpn-install.sh ./openvpn.sh

View File

@@ -31,12 +31,7 @@ jobs:
export DEBIAN_FRONTEND=noninteractive
apt-get -yqq update
apt-get -yqq dist-upgrade
apt-get -yqq install wget rsyslog kmod procps net-tools
if grep -qs bookworm /etc/debian_version; then
rsyslogd
else
service rsyslog start
fi
apt-get -yqq install wget kmod procps net-tools
cp -f "$GITHUB_WORKSPACE"/openvpn-install.sh ./openvpn.sh

View File

@@ -28,8 +28,7 @@ jobs:
export DEBIAN_FRONTEND=noninteractive
sudo apt-get -yqq update
sudo apt-get -yqq dist-upgrade
sudo apt-get -yqq install wget rsyslog
sudo service rsyslog start
sudo apt-get -yqq install wget
cp -f "$GITHUB_WORKSPACE"/openvpn-install.sh ./openvpn.sh