Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
- oops try again.
  • Loading branch information
carlkidcrypto committed Nov 25, 2024
1 parent a5160ae commit a05bab9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,17 @@ jobs:
- name: Start SNMP daemon
run: |
mibdir=""
SNMPD=$(which.exe snmpd)
if [ "$RUNNER_OS" == "Linux" ]
then
mibdir=""
SNMPD=$(which snmpd)
elif [ "$RUNNER_OS" == "macOS" ]
then
mibdir=""
SNMPD=$(which snmpd)
else
mibdir=""
SNMPD=$(which.exe snmpd)
$SNMPD -C -c tests/snmpd.conf -r -Le $mibdir -m ALL
- name: Lint with flake8
Expand Down

0 comments on commit a05bab9

Please sign in to comment.