X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=.github%2Fworkflows%2Ftest.yml;h=a8776a3693d8278a334bb324bbd2e926aa8f87ce;hb=66eb66ec8f872db3dc12e1d01101772918d69a4a;hp=90788d71cea171c1bf5577d2cdf159faf75d09f8;hpb=41c83ed14fa28a723d666ff8dc8971d67abee276;p=tinc diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 90788d71..a8776a36 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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