]> git.ipfire.org Git - thirdparty/suricata-update.git/commitdiff
github-ci: update debian tests
authorJason Ish <jason.ish@oisf.net>
Tue, 4 Jul 2023 20:19:28 +0000 (14:19 -0600)
committerJason Ish <jason.ish@oisf.net>
Tue, 4 Jul 2023 20:22:59 +0000 (14:22 -0600)
- Add Debian 11 and 12
- Remove Debian 9

.github/workflows/tests.yml

index 226febbb0a147742e924c036975bec190cf1ad8f..96a72d5adbda73a08d3100f52d00c4023ba56c62 100644 (file)
@@ -166,34 +166,44 @@ jobs:
       - name: Python 3 integration tests
         run: PYTHONPATH=. python3 ./tests/integration_tests.py
 
-  debian-10:
-    name: Debian 10
+  debian-12:
+    name: Debian 12
     runs-on: ubuntu-latest
-    container: debian:10
+    container: debian:12
     steps:
       - run: apt update
       - run: |
           apt -y install \
-            python-pytest \
-            python-yaml \
             python3-pytest \
             python3-yaml
       - uses: actions/checkout@v1
 
-      - name: Python 2 unit tests
-        run: PYTHONPATH=. pytest
-      - name: Python 2 integration tests
-        run: PYTHONPATH=. python2 ./tests/integration_tests.py
+      - name: Python 3 unit tests
+        run: PYTHONPATH=. pytest-3
+      - name: Python 3 integration tests
+        run: PYTHONPATH=. python3 ./tests/integration_tests.py
+
+  debian-11:
+    name: Debian 11
+    runs-on: ubuntu-latest
+    container: debian:11
+    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
 
-  debian-9:
-    name: Debian 9
+  debian-10:
+    name: Debian 10
     runs-on: ubuntu-latest
-    container: debian:9
+    container: debian:10
     steps:
       - run: apt update
       - run: |