mirror of
https://github.com/jazzband/django-fernet-encrypted-fields.git
synced 2026-03-16 22:40:27 +00:00
use dev dependency group for dependency installation in CI and fix command for running test with new src layout
This commit is contained in:
parent
d63e02c453
commit
a0a8631e14
2 changed files with 4 additions and 9 deletions
11
.github/workflows/lint-and-test.yml
vendored
11
.github/workflows/lint-and-test.yml
vendored
|
|
@ -48,17 +48,10 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install --group dev
|
||||
pip install -q Django~=${{ matrix.django_version }}
|
||||
pip install coverage pytest
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
coverage3 run --source='./encrypted_fields' manage.py test
|
||||
coverage run --source='./src/encrypted_fields' manage.py test
|
||||
coverage xml
|
||||
|
||||
# - name: "Upload coverage to Artifact"
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: coverage
|
||||
# path: coverage.xml
|
||||
|
|
|
|||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -7,3 +7,5 @@ dist/
|
|||
.ruff_cache
|
||||
.venv
|
||||
.venv_django_*
|
||||
.coverage*
|
||||
coverage.*
|
||||
|
|
|
|||
Loading…
Reference in a new issue