Skip to content

Commit

Permalink
Instalado pytest-django
Browse files Browse the repository at this point in the history
close #7
  • Loading branch information
thiago-garcia committed Jul 14, 2024
1 parent cb84e3b commit a9c32f3
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ jobs:
- name: Lint with flake8
run: |
pipenv run flake8 .
# - name: Tests with pytest
# run: |
# pipenv run pytest
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ django = "*"

[dev-packages]
flake8 = "*"
pytest-django = "*"

[requires]
python_version = "3.12"
43 changes: 42 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[pytest]
DJANGO_SETTINGS_MODULE = project.settings
python_files = tests.py test_*.py *_tests.py

0 comments on commit a9c32f3

Please sign in to comment.