File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ jobs:
149149 -v "./tests:/app/tests" \
150150 -v "./pytest.ini:/app/pytest.ini" \
151151 -t ${{env.IMAGE}} \
152- pytest tests/ --create-db - n auto -v --maxfail=5 -- migrations --cov-report xml:./output/coverage.xml --record-mode none
152+ pytest tests/ -n auto -v --migrations
153153
154154 - name : Upload coverage to Codecov
155155 uses : codecov/codecov-action@v4
Original file line number Diff line number Diff line change @@ -165,37 +165,3 @@ dev = [
165165 " types-requests" ,
166166 " types-setuptools"
167167]
168-
169- [tool .pytest .ini_options ]
170- norecursedirs = " data .tox _plugin_template .idea node_modules ~*"
171- django_find_project = false
172- log_format = " %(asctime)s %(levelname)s %(message)s"
173- log_level = " CRITICAL"
174- log_cli = false
175- log_date_format = " %Y-%m-%d %H:%M:%S"
176- junit_family = " xunit1"
177- pythonpath = " src"
178- testpaths = " tests"
179- tmp_path_retention_policy = " all"
180- tmp_path_retention_count = 0
181- selenium_exclude_debug = true
182- addopts = " -rs --reuse-db --tb=short --capture=sys --echo-version django --cov=hope_country_report --cov-config=tests/.coveragerc --cov-report html --cov-report xml"
183-
184-
185- markers = [
186- " selenium" ,
187- " api" ,
188- " admin" ,
189- " skip_models" ,
190- " skip_buttons" ,
191- " select_buttons" ,
192- " smoke" ,
193- " needs_prod_environment" ,
194- ]
195-
196- python_files = " test_*.py"
197- filterwarnings = [
198- " ignore::DeprecationWarning" ,
199- " ignore::django.utils.deprecation.RemovedInDjango60Warning" ,
200- " ignore::coverage.exceptions.CoverageWarning" ,
201- ]
Original file line number Diff line number Diff line change 1+ [pytest]
2+ norecursedirs = data .tox _plugin_template .idea node_modules ~*
3+ django_find_project = false
4+ log_format = %(asctime)s %(levelname)s %(message)s
5+ log_level = CRITICAL
6+ log_cli = false
7+ log_date_format = %Y-%m-%d %H:%M:%S
8+ junit_family = xunit1
9+ pythonpath = src
10+ testpaths = tests
11+ tmp_path_retention_policy = all
12+ tmp_path_retention_count = 0
13+ selenium_exclude_debug = true
14+ addopts = -rs --create-db --tb =short --capture =sys --echo-version django --cov =hope_country_report --cov-config =tests/.coveragerc --cov-report html --cov-report xml:./output/coverage.xml
15+
16+ markers =
17+ selenium
18+ api
19+ admin
20+ skip_models
21+ skip_buttons
22+ select_buttons
23+ smoke
24+ needs_prod_environment
25+
26+ python_files = test_*.py
27+ filterwarnings =
28+ ignore::DeprecationWarning
29+ ignore::django.utils.deprecation.RemovedInDjango60Warning
30+ ignore::coverage.exceptions.CoverageWarning
You can’t perform that action at this time.
0 commit comments