From 9ef4fd72e08af7fbf53d1fdb5bc76a1e3cd4b538 Mon Sep 17 00:00:00 2001 From: Muhammad Soban Javed Date: Tue, 19 Sep 2023 01:09:00 +0500 Subject: [PATCH] build: isntall reqs from make target --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9390c57..0a91fe13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,9 +21,11 @@ jobs: architecture: x64 - name: Install requirements run: | - pip install -r requirements/pip-tools.txt - pip install -r requirements/test.txt - pip install Django~=${{ matrix.django-version }} + make requirements + if [[ "${{ matrix.django-version }}" != "pinned" ]]; then + pip install "django~=${{ matrix.django-version }}.0" + pip check # fail if this test-reqs/Django combination is broken + fi - name: Upgrade packages run: pip install -U pip wheel codecov - name: Validate translations