Skip to content

Commit

Permalink
frr: topotests
Browse files Browse the repository at this point in the history
Add 1 basic test for libyang checks
Apply the guidelines from https://docs.frrouting.org/projects/dev-guide/en/latest/topotests.html
  • Loading branch information
vjardin committed Apr 13, 2024
1 parent ded95c7 commit 2c571e7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/frr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
options:
- master
- pull/15608/head
- frr-10.0
- frr-9.1
- frr-9.0.2
- frr-8.5.4
Expand Down Expand Up @@ -80,6 +81,7 @@ jobs:
libsqlite3-dev
libzmq5
libzmq3-dev
python3-pytest
- name: libyang ${{ inputs.libyang-versions }} ${{ matrix.compiler }}
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -130,6 +132,10 @@ jobs:
--with-moduledir=\${prefix}/lib/frr/modules \
--enable-configfile-mask=0640 \
--enable-logfile-mask=0640 \
--enable-vtysh \
--enable-pimd \
--enable-pim6d \
--enable-sharpd \
--enable-snmp=agentx \
--enable-multipath=64 \
--enable-user=frr \
Expand All @@ -138,4 +144,6 @@ jobs:
--with-pkg-git-version \
--with-pkg-extra-version=-MyOwnFRRVersion &&
make -j $(nproc) &&
sudo make install
sudo make install &&
cd tests/topotests &&
cd all_protocol_startup && pytest-3 -s -v

0 comments on commit 2c571e7

Please sign in to comment.