]> git.ipfire.org Git - thirdparty/suricata-update.git/commitdiff
github-ci: add almalinux 9 build
authorJason Ish <jason.ish@oisf.net>
Wed, 21 Sep 2022 16:48:43 +0000 (10:48 -0600)
committerJason Ish <jason.ish@oisf.net>
Wed, 21 Sep 2022 21:43:14 +0000 (15:43 -0600)
At this time, tox and pytest don't install cleanly from packages on
the RHEL spinoffs, so just do the integration tests for now.

.github/workflows/tests.yml

index 091da29c0d9389ebd952820a71d2f6bbaca1512c..dfaa18af91f722ec653900a05c859904e92c9767 100644 (file)
@@ -6,6 +6,22 @@ on:
 
 jobs:
 
+  alma-9:
+    # At the time of adding this test, tox and pytest don't install
+    # cleanly using system packages, so just run the integration tests
+    # for now.
+    name: AlmaLinux 9
+    runs-on: ubuntu-latest
+    container: almalinux:9
+    steps:
+      - run: |
+          dnf -y install \
+            python3 \
+            python3-pyyaml
+      - uses: actions/checkout@v1
+      - name: Python 3 integration tests
+        run: PYTHONPATH=. python3 ./tests/integration_tests.py
+
   alma-8:
     name: AlmaLinux 8
     runs-on: ubuntu-latest