Skip to content

Commit

Permalink
ci(backend): Add poetry.lock check
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts committed Dec 5, 2024
1 parent d6a496e commit 78c11c9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/platform-backend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,17 @@ jobs:
echo "$HOME/.local/bin" >> $GITHUB_PATH
fi
- name: Check poetry.lock
run: |
poetry lock --no-update
if ! git diff --quiet poetry.lock; then
echo "Error: poetry.lock not up to date."
echo
git diff poetry.lock
exit 1
fi
- name: Install Python dependencies
run: poetry install

Expand Down

0 comments on commit 78c11c9

Please sign in to comment.