From f0bfd281a989207e778adf122a2e1099b264ba06 Mon Sep 17 00:00:00 2001 From: dmachard <5562930+dmachard@users.noreply.github.com> Date: Sun, 3 Nov 2024 16:58:25 +0100 Subject: [PATCH] add python venv --- .github/workflows/testing-dnstap.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testing-dnstap.yml b/.github/workflows/testing-dnstap.yml index 4fe8aae5..c8cf3bb9 100644 --- a/.github/workflows/testing-dnstap.yml +++ b/.github/workflows/testing-dnstap.yml @@ -78,9 +78,11 @@ jobs: - name: Test ${{ matrix.mode }} run: | - sudo python3 -m pip install dnstap_pb fstrm dnspython - sudo python3 -m pip install --upgrade protobuf - sudo python3 -m unittest tests.dnsquery_dnstap${{ matrix.mode }} -v + python3 -m venv venv + source venv/bin/activate + python3 -m pip install dnstap_pb fstrm dnspython + python3 -m pip install --upgrade protobuf + python3 -m unittest tests.dnsquery_dnstap${{ matrix.mode }} -v coredns: runs-on: ubuntu-latest