Skip to content

eBPF-based security platform

ci: run the xtop tests

John Fastabend6470ea51bbdd
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index b85e8f61..f9e8fe96 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -192,3 +192,22 @@ jobs:
- name: Run the SQL tests in a ClickHouse container
run: make -C tools/backend tests
+
+ xtop:
+ name: xtop tests
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Check out repository
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+
+ - name: Install Bun
+ uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
+ with:
+ bun-version: 1.4.4
+
+ - name: Type-check and run the unit tests
+ run: make -C tools/xtop tests
+
+ - name: Build the executable
+ run: make -C tools/xtop