We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b09674 commit 42a072eCopy full SHA for 42a072e
.github/workflows/tests.yml
@@ -42,5 +42,15 @@ jobs:
42
sudo freshclam --verbose
43
sudo systemctl restart clamav-daemon.service
44
45
+ - name: Wait for 20 seconds until clamd socket becomes available
46
+ run: |
47
+ secs=20
48
+ while [[ $secs -gt 0 ]] && ! [[ -f "/var/run/clamav/clamd.ctl" ]];
49
+ do
50
+ echo -ne "$secs\033[0K\r"
51
+ sleep 1
52
+ : $((secs--))
53
+ done
54
+
55
- name: Run unit tests
56
run: pytest
0 commit comments