From ebce47def0a626f8a15bd61d3bce0e054985af16 Mon Sep 17 00:00:00 2001 From: Arthur Chan Date: Thu, 13 Jun 2024 13:48:25 +0000 Subject: [PATCH] Fix yml Signed-off-by: Arthur Chan --- .github/workflows/webapp-mypy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/webapp-mypy.yml b/.github/workflows/webapp-mypy.yml index 2247790ec..d324ec2f0 100644 --- a/.github/workflows/webapp-mypy.yml +++ b/.github/workflows/webapp-mypy.yml @@ -21,9 +21,9 @@ jobs: - name: Install venv run: sudo apt-get install python3-venv - name: Set up venv - run: python3 -m venv tools/web-fuzzing-introspection/.venv + run: cd tools/web-fuzzing-introspection && python3 -m venv .venv - name: Active venv dependencies - run: source tools/web-fuzzing-introspection/.venv/bin/activate && pip install -r tools/web-fuzzing-introspection/requirements.txt + run: cd tools/web-fuzzing-introspection && source .venv/bin/activate && pip install -r ./requirements.txt - name: Install Dependencies run: | pip install mypy types-PyYAML pyright types-requests @@ -32,4 +32,4 @@ jobs: cd tools/web-fuzzing-introspection && mypy --ignore-missing-imports --explicit-package-bases . - name: pyright run: | - cd tools/web-fuzzing-introspection && pyright . --project=./.pyrightconfig.json --venvpath=./.venv + cd tools/web-fuzzing-introspection && source .venv/bin/activate && pyright . --project=./.pyrightconfig.json --venvpath=./.venv