Skip to content

Commit

Permalink
Test plugin installation
Browse files Browse the repository at this point in the history
  • Loading branch information
juadde committed May 22, 2024
1 parent 6c8da90 commit b07dc1d
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,13 @@ jobs:
runs-on: macos-latest
needs: [package_standard_plugin, dependency_download]
steps:
- name: Get test files
uses: actions/checkout@v4
with:
sparse-checkout: |
test
pcapng_files
sparse-checkout-cone-mode: false
- name: Download plugin
uses: actions/download-artifact@v4
with:
Expand All @@ -895,8 +902,14 @@ jobs:
- name: Prepare compilation
run: cd wireshark-* && cmake ${WIRESHARK_CENTOS_BUILD_OPTS} -DENABLE_LUA=ON -DFETCH_lua=ON -DBUILD_wireshark=OFF -DBUILD_tshark=ON .
- name: Compile and install
run: cd wireshark-* && sudo make tshark install
run: cd wireshark-* && make tshark
- name: Check version
run: ./wireshark-*/run/tshark --version
- name: Check version
run: tshark --version
- name: See repositories
run: ls -lha run
- name: unzip and diff availability
run: unzip Wireshark_plugin.zip -d run && diff Wireshark_plugin.zip Wireshark_plugin.zip
- name: test
run: ./wireshark-*/run/tshark -e A429.LABEL -e A429.WORD -e A429.SDI -e A429.SSM -e A429.DATA -e A429.PARITY -E header=y -T fields -r pcapng_files/arinc429_broadcast.pcapng | tee a429_broadcast.output
- name: Run diff
run: diff a429_broadcast.output test/a429_broadcast.output

0 comments on commit b07dc1d

Please sign in to comment.