]> git.ipfire.org Git - thirdparty/suricata-update.git/commitdiff
github-ci: add Ubuntu 22.04 test
authorJason Ish <jason.ish@oisf.net>
Wed, 21 Sep 2022 17:03:49 +0000 (11:03 -0600)
committerJason Ish <jason.ish@oisf.net>
Wed, 21 Sep 2022 21:43:41 +0000 (15:43 -0600)
.github/workflows/tests.yml

index caea0847e3dc42cc539b0bf4961112cfea022d05..74a58922e8e6f8d2aaa4f420d53bb732ed54456f 100644 (file)
@@ -103,6 +103,22 @@ jobs:
       - name: Python 3 integration tests
         run: PYTHONPATH=. python3 ./tests/integration_tests.py
 
+  ubuntu-2204:
+    name: Ubuntu 22.04
+    runs-on: ubuntu-latest
+    container: ubuntu:22.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-2004:
     name: Ubuntu 20.04
     runs-on: ubuntu-latest