diff --git a/.github/workflows/check_dependencies.yml b/.github/workflows/check_dependencies.yml index 5ead86fe323b..56ec4db0cf92 100644 --- a/.github/workflows/check_dependencies.yml +++ b/.github/workflows/check_dependencies.yml @@ -20,12 +20,16 @@ jobs: with: python-version: '3.8' + - name: Create Virtual Environment + run: python -m venv .venv + - name: Install Dependencies run: | - python -m pip install --upgrade pip + source .venv/bin/activate # Activate the virtual environment + pip install --upgrade pip pip install -r requirements.txt - name: List Installed Packages run: | source .venv/bin/activate # Activate the virtual environment - pip list --format=columns # List installed packages in columns format + pip list --format=columns # List installed packages in columns format \ No newline at end of file