Skip to content

Commit

Permalink
chore: add workflow to find the python dependencies in repo
Browse files Browse the repository at this point in the history
  • Loading branch information
salman2013 committed Mar 28, 2024
1 parent 963d0a0 commit 02730f1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/check_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 02730f1

Please sign in to comment.