Skip to content

chore: add workflow to find the python dependencies in repo #25

chore: add workflow to find the python dependencies in repo

chore: add workflow to find the python dependencies in repo #25

name: Check Python Dependencies
on:
pull_request:
defaults:
run:
shell: bash # strict bash
jobs:
check_dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Create Virtual Environment
run: python3 -m venv .venv
# Optionally, you can log the output to a file
# continue-on-error: true
# env:
# log_file: make_venv.log
- name: Upgrade pip
run: .venv/bin/python3 -m pip install -U pip
# Optionally, you can log the output to a file
# continue-on-error: true
# env:
# log_file: pip_upgrade.log
- name: Download dependencies
run: .venv/bin/python3 -m pip download --dest files -r base.txt
# Optionally, you can log the output to a file
# continue-on-error: true
# env:
# log_file: pip_download.log