]> git.ipfire.org Git - thirdparty/suricata-update.git/commitdiff
github-ci: add Ubuntu 24.04 test build
authorJason Ish <jason.ish@oisf.net>
Mon, 2 Dec 2024 22:47:37 +0000 (16:47 -0600)
committerJason Ish <jason.ish@oisf.net>
Mon, 2 Dec 2024 22:47:37 +0000 (16:47 -0600)
.github/workflows/tests.yml

index 73c0630a750799764abc4cf0ddcdff131ce7fb39..2d2de9f23ed25c515fb19b6ccfc03410544f3457 100644 (file)
@@ -84,6 +84,22 @@ jobs:
       - name: Python 3 integration tests
         run: PYTHONPATH=. python3 ./tests/integration_tests.py
 
+  ubuntu-2404:
+    name: Ubuntu 24.04
+    runs-on: ubuntu-latest
+    container: ubuntu:24.04
+    steps:
+      - run: apt update
+      - run: |
+          apt -y install \
+            python3-pytest \
+            python3-yaml
+      - uses: actions/checkout@v1
+      - name: Python 3 unit tests
+        run: PYTHONPATH=. pytest-3
+      - name: Python 3 integration tests
+        run: PYTHONPATH=. python3 ./tests/integration_tests.py
+
   ubuntu-2204:
     name: Ubuntu 22.04
     runs-on: ubuntu-latest