Update test-package.yml

Fabio Caccamo 2022-03-07 19:20:58 +01:00 committed by GitHub
parent 7b83b09ff1
commit 4248b156fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 3 deletions

View File

@ -32,7 +32,8 @@ jobs:
outputs: outputs:
matrix: ${{ steps.set_matrix.outputs.matrix }} matrix: ${{ steps.set_matrix.outputs.matrix }}
test: run_tests:
needs: create_matrix needs: create_matrix
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
@ -74,11 +75,15 @@ jobs:
- name: Upgrade pip version - name: Upgrade pip version
run: | run: |
pip install pip --upgrade pip install pip --upgrade
- name: Install django - name: Install django
run: | run: |
pip install "Django ~= ${{ matrix.django-version }}" pip install "Django ~= ${{ matrix.django-version }}"
- name: Install test requirements
run: |
pip install -r requirements-test.txt
- name: Run tests - name: Run tests
env: env:
DATABASE_ENGINE: ${{ matrix.database }} DATABASE_ENGINE: ${{ matrix.database }}