Skip to content

Commit

Permalink
Create check_pip_conflicts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GitGinocchio committed Jan 15, 2025
1 parent 2b15fc4 commit 97d4d69
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/check_pip_conflicts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Python Check Packages Conflicts

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
install-packages:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Try installing packages
run: |
python -m pip install -r requirements.txt || {
echo "Error installing packages:"
cat $(pip list --format=columns | grep Error)
exit 1
}

0 comments on commit 97d4d69

Please sign in to comment.