We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8f2084 commit f658d8bCopy full SHA for f658d8b
1 file changed
.github/workflows/clam-av.yml
@@ -41,6 +41,15 @@ jobs:
41
ls -lh /var/lib/clamav
42
43
# Scan extracted bundle so counts reflect actual files
44
+ - name: Verify ClamAV detects EICAR signature
45
+ run: |
46
+ set -e
47
+ printf 'X5O!P%%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*' > eicar.com
48
+ clamscan eicar.com | tee eicar.log
49
+ grep -q 'eicar.com: Eicar-Test-Signature FOUND' eicar.log
50
+ grep -q 'Infected files: 1' eicar.log
51
+ rm -f eicar.com eicar.log
52
+
53
- name: Extract bundle and scan
54
run: |
55
set -e
0 commit comments