From 4248b156fc14fb15d5986bfbd4f95849527edb01 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Mon, 7 Mar 2022 19:20:58 +0100 Subject: [PATCH] Update test-package.yml --- .github/workflows/test-package.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 521744e..a410be9 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -32,7 +32,8 @@ jobs: outputs: matrix: ${{ steps.set_matrix.outputs.matrix }} - test: + run_tests: + needs: create_matrix runs-on: ubuntu-latest strategy: @@ -74,11 +75,15 @@ jobs: - name: Upgrade pip version run: | pip install pip --upgrade - + - name: Install django run: | pip install "Django ~= ${{ matrix.django-version }}" - + + - name: Install test requirements + run: | + pip install -r requirements-test.txt + - name: Run tests env: DATABASE_ENGINE: ${{ matrix.database }}