Update test-package.yml

This commit is contained in:
Fabio Caccamo
2022-03-07 19:20:58 +01:00
committed by GitHub
parent 7b83b09ff1
commit 4248b156fc
+8 -3
View File
@@ -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 }}