Update test-package.yml

This commit is contained in:
Fabio Caccamo
2022-03-07 19:28:27 +01:00
committed by GitHub
parent 4248b156fc
commit 1437e8c3f2
+3 -2
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