Skip to content

Commit

Permalink
ci: Install Net-SNMP package as prerequisite
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Aug 9, 2022
1 parent b8ff257 commit 8fd07d7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
matrix:
os: [ "ubuntu-latest", "macos-latest" ]
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10" ]
fail-fast: false

env:
OS: ${{ matrix.os }}
Expand All @@ -38,6 +39,16 @@ jobs:
cache: 'pip'
cache-dependency-path: 'setup.py'

- name: Install prerequisites (Linux)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt install --yes libsnmp-dev snmp-mibs-downloader
- name: Install prerequisites (macOS)
if: matrix.os == 'macos-latest'
run: |
brew install net-snmp
- name: Run linter
run: |
make lint
Expand Down

0 comments on commit 8fd07d7

Please sign in to comment.