Update test-package.yml

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

View File

@ -80,15 +80,16 @@ jobs:
run: | run: |
pip install "Django ~= ${{ matrix.django-version }}" pip install "Django ~= ${{ matrix.django-version }}"
- name: Install test requirements - name: Install requirements
run: | run: |
pip install -r requirements.txt
pip install -r requirements-test.txt pip install -r requirements-test.txt
- name: Run tests - name: Run tests
env: env:
DATABASE_ENGINE: ${{ matrix.database }} DATABASE_ENGINE: ${{ matrix.database }}
run: | run: |
coverage run --append --source=admin_interface setup.py test coverage run --append --source=admin_interface runtests.py
coverage xml -o ./coverage.xml coverage xml -o ./coverage.xml
- name: Upload coverage to Codecov - name: Upload coverage to Codecov