CI: add check for paths over the 108-char limit
[tinc] / .github / workflows / test.yml
index 90788d7..6490f2a 100644 (file)
@@ -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:bullseye-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