Skip to content

Zeek Tests

Zeek Tests #3

Workflow file for this run

name: Zeek Tests
on:
push:
branches:
- main
paths:
- 'zeek/**'
- '.github/workflows/zeek-test.yml'
pull_request:
paths:
- 'zeek/**'
- '.github/workflows/zeek-test.yml'
workflow_dispatch:
repository_dispatch:
jobs:
test:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
container:
image: zeek/zeek:8.0.0
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get update
apt-get install -y python3-pip git cmake build-essential
# btest is distributed as a python package
pip3 install btest --break-system-packages
- name: Build plugin
run: |
cd zeek
./configure
cd build
make -j$(nproc)
- name: Run btest
run: |
cd zeek/testing
btest -d tests/