Skip to content

Commit

Permalink
Add tests for one specific device which is lying to us
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenz Kästle committed Jul 9, 2024
1 parent da2dc56 commit 1e2fe6b
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
build:
runs-on: ubuntu-latest
env:
CFLAGS: "-Wall"
CFLAGS: "-Wall -Werror"

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.x'
Expand Down Expand Up @@ -41,18 +41,22 @@ jobs:
run: sleep 30s
shell: bash

- name: check_interfaces
- name: check_interfaces with some cisco stuff
run: ./check_interfaces -h 127.0.0.1 --port=1611 -c cisco-c3560 -d

- name: check_interfaces with lying hpe-procurve
run: ./check_interfaces -h 127.0.0.1 --port=1611 -c network/switch/hpe-procurve-516733-b21 -d


clang-build:
runs-on: ubuntu-latest
env:
CC: clang
CFLAGS: "-Wall"
CFLAGS: "-Wall -Werror"

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.x'
Expand Down Expand Up @@ -81,5 +85,8 @@ jobs:
run: sleep 30s
shell: bash

- name: check_interfaces
- name: check_interfaces with some cisco stuff
run: ./check_interfaces -h 127.0.0.1 --port=1611 -c cisco-c3560 -d

- name: check_interfaces with lying hpe-procurve
run: ./check_interfaces -h 127.0.0.1 --port=1611 -c network/switch/hpe-procurve-516733-b21 -d

0 comments on commit 1e2fe6b

Please sign in to comment.