From e55b56c98059851c9bba2ed1cf2d32c62c65602c Mon Sep 17 00:00:00 2001 From: dmachard <5562930+dmachard@users.noreply.github.com> Date: Sun, 3 Nov 2024 18:35:13 +0100 Subject: [PATCH] add sudo --- .github/workflows/testing-dnstap.yml | 6 +++--- .github/workflows/testing-powerdns.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/testing-dnstap.yml b/.github/workflows/testing-dnstap.yml index 453d426b..052cf847 100644 --- a/.github/workflows/testing-dnstap.yml +++ b/.github/workflows/testing-dnstap.yml @@ -200,9 +200,9 @@ jobs: - name: Test ${{ matrix.mode }} run: | - python3 -m venv venv - source venv/bin/activate - python3 -m pip install dnstap_pb fstrm dnspython + sudo python3 -m venv venv + sudo source venv/bin/activate + sudo python3 -m pip install dnstap_pb fstrm dnspython sudo -u pdns -E pwd sudo -u pdns -E ls -la sudo -u pdns -E python3 -m unittest tests.dnsquery_${{ matrix.mode }} -v diff --git a/.github/workflows/testing-powerdns.yml b/.github/workflows/testing-powerdns.yml index 0129390a..8e1a3660 100644 --- a/.github/workflows/testing-powerdns.yml +++ b/.github/workflows/testing-powerdns.yml @@ -40,7 +40,7 @@ jobs: name: go-dnscollector path: go-dnscollector - test: + test_protobuf: needs: build runs-on: ubuntu-latest