From: Peter van Dijk Date: Mon, 24 Jan 2022 16:19:21 +0000 (+0100) Subject: auth: install test deps during unit tests, so we get socat X-Git-Tag: auth-4.7.0-alpha1~48^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11231%2Fhead;p=thirdparty%2Fpdns.git auth: install test deps during unit tests, so we get socat --- diff --git a/.github/workflows/build-and-test-all.yml b/.github/workflows/build-and-test-all.yml index 664790574a..14b98c2a67 100644 --- a/.github/workflows/build-and-test-all.yml +++ b/.github/workflows/build-and-test-all.yml @@ -36,7 +36,7 @@ jobs: - run: inv ci-autoconf - run: inv ci-auth-configure - run: inv ci-auth-make - - run: inv ci-auth-install-remotebackend-ruby-deps + - run: inv ci-auth-install-remotebackend-test-deps - run: inv ci-auth-run-unit-tests - run: inv ci-make-install - run: ccache -s diff --git a/tasks.py b/tasks.py index 7ac2dbf719..49dccd727f 100644 --- a/tasks.py +++ b/tasks.py @@ -360,10 +360,11 @@ def ci_dnsdist_make(c): c.run('make -j4 -k V=1') @task -def ci_auth_install_remotebackend_ruby_deps(c): +def ci_auth_install_remotebackend_test_deps(c): with c.cd('modules/remotebackend'): # c.run('bundle config set path vendor/bundle') c.run('sudo ruby -S bundle install') + c.sudo('apt-get install -qq -y socat') @task def ci_auth_run_unit_tests(c): @@ -465,7 +466,7 @@ backend_regress_tests = dict( @task def test_auth_backend(c, backend): if backend == 'remote': - ci_auth_install_remotebackend_ruby_deps(c) + ci_auth_install_remotebackend_test_deps(c) if backend == 'authpy': with c.cd('regression-tests.auth-py'):