Update test-package.yml
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user