test: use ping to improve network test (#2266)

This commit is contained in:
Jason Song 2024-03-28 19:56:26 +08:00 committed by GitHub
parent 069720abff
commit f56dd65ff6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ jobs:
- name: Install tools
run: |
apt update
apt install -y bind9-host
apt install -y iputils-ping
- name: Run hostname test
run: |
hostname -f
host $(hostname -f)
ping -c 4 $(hostname -f)