Skip to content

Commit

Permalink
Merge pull request #65 from srobo/validate-requirements-compile
Browse files Browse the repository at this point in the history
Validate dependency files are in sync
  • Loading branch information
PeterJCLaw authored Apr 8, 2024
2 parents dfbc34b + 9789cf0 commit fdd3c7a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:
- name: Install dependencies
run: pip install -r requirements.txt -r requirements-dev.txt

- name: Validate dependencies
uses: PeterJCLaw/validate-generated-files@v1
if: matrix.python == '3.10'
with:
command: ./script/compile-requirements.sh
files: requirements*.txt

- name: Use the dev configuration
run: cp helpdesk/helpdesk/configuration.dev.py helpdesk/helpdesk/configuration.py

Expand Down
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --resolver=backtracking requirements.in
# pip-compile requirements.in
#
asgiref==3.8.1
# via django
Expand Down Expand Up @@ -53,9 +53,7 @@ oauthlib==3.2.2
pycparser==2.22
# via cffi
pyjwt[crypto]==2.8.0
# via
# django-allauth
# pyjwt
# via django-allauth
python3-openid==3.2.0
# via django-allauth
requests==2.31.0
Expand All @@ -68,6 +66,8 @@ requests-oauthlib==2.0.0
sqlparse==0.4.4
# via django
typing-extensions==4.11.0
# via django-stubs-ext
# via
# asgiref
# django-stubs-ext
urllib3==2.2.1
# via requests

0 comments on commit fdd3c7a

Please sign in to comment.