GitHub CI: update list of container images
[tinc] / .github / workflows / test.yml
index 90788d7..1757c8e 100644 (file)
@@ -24,7 +24,7 @@ jobs:
           - mingw
 
     container:
-      image: debian:bullseye
+      image: debian:stable
       options: --privileged
 
     steps:
@@ -55,6 +55,24 @@ jobs:
           path: /tmp/logs/tests.*.tar.gz
         if: always()
 
+  muon:
+    runs-on: ubuntu-22.04
+    timeout-minutes: 20
+    container:
+      image: debian:stable-slim
+      env:
+        CI: 1
+
+    steps:
+      - name: Checkout code
+        uses: actions/checkout@v1
+
+      - name: Install dependencies
+        run: SKIP_OPENSSL3=1 SKIP_MESON=1 .ci/deps.sh libpkgconf-dev
+
+      - name: Compatibility with muon
+        run: ./.ci/muon/run.sh
+
   analysis:
     runs-on: ubuntu-22.04
     timeout-minutes: 30
@@ -82,7 +100,7 @@ jobs:
           chmod 755 ~/shfmt ~/shellcheck
           python3 -m venv /tmp/venv
           . /tmp/venv/bin/activate
-          pip3 install black pylint mypy
+          pip3 install black pylint mypy markflow
         env:
           CLANG: 11
           SHELLCHECK: 0.8.0
@@ -107,6 +125,14 @@ jobs:
           CC: gcc-11
         if: always()
 
+      - name: Check that very long paths work
+        run: |
+          meson setup "$WD"
+          meson test -C "$WD" --verbose
+        env:
+          WD: /tmp/tinc_testing_directory_with_a_very_long_path_which_goes_over_the_108_char_limit_on_unix_socket_file_paths
+        if: always()
+
       - name: Archive test results
         run: sudo tar -caf tests.tar.gz /usr/local/etc
         continue-on-error: true
@@ -138,7 +164,7 @@ jobs:
 
       - name: Install deps
         run: |
-          sudo sh .ci/deps.sh
+          sudo sh .ci/deps.sh iputils-arping
           sudo pip3 install --upgrade cryptography
 
       - name: Run tests with OpenSSL 3
@@ -171,17 +197,16 @@ jobs:
       fail-fast: false
       matrix:
         os:
-          - alpine
+          - alpine:latest
           - alpine:edge
-          - centos:7 # aka RHEL 7
-          - almalinux:8 # aka RHEL 8
-          - almalinux:9 # aka RHEL 9
-          - fedora
-          - debian:buster
-          - debian:bullseye
+          - almalinux:latest
+          - fedora:latest
+          - fedora:rawhide
+          - debian:oldstable
+          - debian:stable
           - debian:testing
-          - ubuntu # current LTS
-          - ubuntu:rolling # latest
+          - ubuntu:latest
+          - ubuntu:rolling
     container:
       image: ${{ matrix.os }}
       options: --privileged