Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
- hmm, try this for both Linux and MacOS....
  • Loading branch information
carlkidcrypto committed Nov 25, 2024
1 parent 64ec9da commit a5160ae
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,8 @@ jobs:
- name: Start SNMP daemon
run: |
if [ "$RUNNER_OS" == "Linux" ]
then
mibdir="-M +/var/lib/snmp/mibs"
SNMPD=$(which snmpd)
elif [ "$RUNNER_OS" == "macOS" ]
then
mibdir=""
SNMPD=$(which snmpd)
else
mibdir=""
SNMPD=$(which.exe snmpd)
fi
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 a5160ae

Please sign in to comment.