Skip to content

Commit 795cda7

Browse files
author
Ferhan Syed
committed
fix: generate lock file with django version to resolve pipeline error
1 parent 2b61ada commit 795cda7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ jobs:
3333
python-version: "3.13"
3434
steps:
3535
- uses: actions/checkout@v4
36-
- name: Set up Python ${{ matrix.python-version }}
37-
uses: actions/setup-python@v4
38-
with:
39-
python-version: ${{ matrix.python-version }}
4036
- name: Set up uv
4137
uses: astral-sh/setup-uv@v6
38+
with:
39+
python-version: ${{ matrix.python-version }}
40+
- name: Generate lock file for specific django version
41+
run: uv lock -P django~=${{ matrix.django-version }}
4242
- name: Install dependencies
43-
run: uv pip install -e .[twilio,html2text] "django~=${{ matrix.django-version }}"
43+
run: uv sync --all-extras
4444
- name: Run tests
4545
run: |
4646
uv run coverage run --source herald runtests.py -v 2

0 commit comments

Comments
 (0)