Skip to content

Commit

Permalink
Test macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
toblux committed Mar 29, 2024
1 parent 905449b commit 464612f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
uses: actions/checkout@v4
- name: Start ClamAV daemon
uses: ./
with:
db_main: true
db_daily: true
- name: Ping clamd on TCP port 3310
run: echo PING | nc localhost 3310
- name: Ping clamd using the Unix socket
Expand Down
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ runs:
shell: bash
run: |
brew install clamav
freshclam -F --config-file=freshclam.conf --update-db=bytecode
freshclam -F --config-file=freshclam.conf --update-db=bytecode \
$([ ${{ inputs.db_main }} = true ] && echo "--update-db=main") \
$([ ${{ inputs.db_daily }} = true ] && echo "--update-db=daily")
clamd --config-file=clamd.conf
# Linux
- name: Install and start ClamAV daemon on Linux
Expand Down

0 comments on commit 464612f

Please sign in to comment.