Compare commits
No commits in common. "c60b4948790528022a02a09f5c4dde6438071071" and "ef708485a366375a0542858c5d81ed1a76f767b1" have entirely different histories.
c60b494879
...
ef708485a3
11 changed files with 3 additions and 47 deletions
|
|
@ -23,7 +23,7 @@ steps:
|
||||||
- python -m venv venv
|
- python -m venv venv
|
||||||
- . venv/bin/activate
|
- . venv/bin/activate
|
||||||
- python -m pip install --disable-pip-version-check --no-input --quiet -r requirements/test.txt
|
- python -m pip install --disable-pip-version-check --no-input --quiet -r requirements/test.txt
|
||||||
- python -m pytest --cov --cov-report term
|
- python -m pytest
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: database
|
- name: database
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,6 @@
|
||||||
## Badges
|
## Badges
|
||||||
|
|
||||||
[](https://ci.c-base.org/repos/9)
|
[](https://ci.c-base.org/repos/9)
|
||||||
[](https://hypothesis.readthedocs.io/)
|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="114" height="20" role="img" aria-label="coverage: 91.06%"><title>coverage: 91.06%</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="114" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="61" height="20" fill="#555"/><rect x="61" width="53" height="20" fill="#4c1"/><rect width="114" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="315" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="510">coverage</text><text x="315" y="140" transform="scale(.1)" fill="#fff" textLength="510">coverage</text><text aria-hidden="true" x="865" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="430">91.06%</text><text x="865" y="140" transform="scale(.1)" fill="#fff" textLength="430">91.06%</text></g></svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.1 KiB |
|
|
@ -1 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="114" height="20" role="img" aria-label="hypothesis: tested"><title>hypothesis: tested</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="114" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="69" height="20" fill="#555"/><rect x="69" width="45" height="20" fill="#4c1"/><rect width="114" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="355" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="590">hypothesis</text><text x="355" y="140" transform="scale(.1)" fill="#fff" textLength="590">hypothesis</text><text aria-hidden="true" x="905" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="350">tested</text><text x="905" y="140" transform="scale(.1)" fill="#fff" textLength="350">tested</text></g></svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.1 KiB |
|
|
@ -1 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="54" height="20" role="img" aria-label="tests: 9"><title>tests: 9</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="54" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="37" height="20" fill="#555"/><rect x="37" width="17" height="20" fill="#4c1"/><rect width="54" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="195" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="270">tests</text><text x="195" y="140" transform="scale(.1)" fill="#fff" textLength="270">tests</text><text aria-hidden="true" x="445" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="70">9</text><text x="445" y="140" transform="scale(.1)" fill="#fff" textLength="70">9</text></g></svg>
|
|
||||||
|
Before Width: | Height: | Size: 1 KiB |
7
justfile
7
justfile
|
|
@ -24,11 +24,4 @@ serve:
|
||||||
test *ARGS:
|
test *ARGS:
|
||||||
ENV_PATH=.env.test python -m pytest {{ARGS}}
|
ENV_PATH=.env.test python -m pytest {{ARGS}}
|
||||||
|
|
||||||
cov *ARGS:
|
|
||||||
just test --cov --cov-report xml --cov-report term --junitxml=reports/junit/junit.xml {{ARGS}}
|
|
||||||
|
|
||||||
badges:
|
|
||||||
genbadge coverage --output-file docs/coverage-badge.svg
|
|
||||||
genbadge tests --output-file docs/tests-badge.svg
|
|
||||||
|
|
||||||
alias fd := freshdeps
|
alias fd := freshdeps
|
||||||
|
|
|
||||||
|
|
@ -24,25 +24,6 @@ addopts = [
|
||||||
"--capture=sys",
|
"--capture=sys",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.coverage]
|
|
||||||
branch = true
|
|
||||||
|
|
||||||
[tool.coverage.report]
|
|
||||||
skip_covered = true
|
|
||||||
skip_empty = true
|
|
||||||
show_missing = true
|
|
||||||
|
|
||||||
[tool.coverage.run]
|
|
||||||
omit = [
|
|
||||||
"*/migrations/*",
|
|
||||||
"VERSION.py",
|
|
||||||
"manage.py",
|
|
||||||
"config/[aw]sgi.py",
|
|
||||||
]
|
|
||||||
|
|
||||||
[tool.coverage.xml]
|
|
||||||
output = "reports/coverage/coverage.xml"
|
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["pdm-backend"]
|
requires = ["pdm-backend"]
|
||||||
build-backend = "pdm.backend"
|
build-backend = "pdm.backend"
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,3 @@ pip-compile-multi # superior dependency management
|
||||||
rich # pretty exceptions on dev/console
|
rich # pretty exceptions on dev/console
|
||||||
ruff # linter
|
ruff # linter
|
||||||
uv # resolver for pip-compile-multi
|
uv # resolver for pip-compile-multi
|
||||||
genbadge[tests,coverage] # create badges from coverage reports and pytest
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# SHA1:c1b1a9cb6cb941c70ba198b50670c6604e0daead
|
# SHA1:dabc24f4b9a41d5fae3314c9a05a98434dd126e3
|
||||||
#
|
#
|
||||||
# This file is autogenerated by pip-compile-multi
|
# This file is autogenerated by pip-compile-multi
|
||||||
# To update, run:
|
# To update, run:
|
||||||
|
|
@ -8,17 +8,12 @@
|
||||||
-r test.txt
|
-r test.txt
|
||||||
asttokens==3.0.0
|
asttokens==3.0.0
|
||||||
build==1.2.2.post1
|
build==1.2.2.post1
|
||||||
certifi==2025.1.31
|
|
||||||
charset-normalizer==3.4.1
|
|
||||||
click==8.1.8
|
click==8.1.8
|
||||||
decorator==5.2.1
|
decorator==5.2.1
|
||||||
defusedxml==0.7.1
|
|
||||||
django-debug-toolbar==5.0.1
|
django-debug-toolbar==5.0.1
|
||||||
django-stubs==5.1.3
|
django-stubs==5.1.3
|
||||||
django-stubs-ext==5.1.3
|
django-stubs-ext==5.1.3
|
||||||
executing==2.2.0
|
executing==2.2.0
|
||||||
genbadge==1.1.1
|
|
||||||
idna==3.10
|
|
||||||
ipython==9.0.2
|
ipython==9.0.2
|
||||||
ipython-pygments-lexers==1.1.1
|
ipython-pygments-lexers==1.1.1
|
||||||
jedi==0.19.2
|
jedi==0.19.2
|
||||||
|
|
@ -27,7 +22,6 @@ matplotlib-inline==0.1.7
|
||||||
mdurl==0.1.2
|
mdurl==0.1.2
|
||||||
parso==0.8.4
|
parso==0.8.4
|
||||||
pexpect==4.9.0
|
pexpect==4.9.0
|
||||||
pillow==11.1.0
|
|
||||||
pip==25.0.1
|
pip==25.0.1
|
||||||
pip-compile-multi==2.8.0
|
pip-compile-multi==2.8.0
|
||||||
pip-tools==7.4.1
|
pip-tools==7.4.1
|
||||||
|
|
@ -36,7 +30,6 @@ ptyprocess==0.7.0
|
||||||
pure-eval==0.2.3
|
pure-eval==0.2.3
|
||||||
pygments==2.19.1
|
pygments==2.19.1
|
||||||
pyproject-hooks==1.2.0
|
pyproject-hooks==1.2.0
|
||||||
requests==2.32.3
|
|
||||||
rich==13.9.4
|
rich==13.9.4
|
||||||
ruff==0.11.0
|
ruff==0.11.0
|
||||||
setuptools==76.0.0
|
setuptools==76.0.0
|
||||||
|
|
@ -44,7 +37,6 @@ stack-data==0.6.3
|
||||||
toposort==1.10
|
toposort==1.10
|
||||||
traitlets==5.14.3
|
traitlets==5.14.3
|
||||||
types-pyyaml==6.0.12.20241230
|
types-pyyaml==6.0.12.20241230
|
||||||
urllib3==2.3.0
|
|
||||||
uv==0.6.6
|
uv==0.6.6
|
||||||
wcwidth==0.2.13
|
wcwidth==0.2.13
|
||||||
wheel==0.45.1
|
wheel==0.45.1
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,3 @@
|
||||||
hypothesis[django]
|
hypothesis[django]
|
||||||
pytest
|
pytest
|
||||||
pytest-django
|
pytest-django
|
||||||
pytest-cov
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# SHA1:5d0aacdba01d54c2715a30c8df5ee5aef977d83c
|
# SHA1:9bf147356ad56dbe073ef0973141bdfb94631c9b
|
||||||
#
|
#
|
||||||
# This file is autogenerated by pip-compile-multi
|
# This file is autogenerated by pip-compile-multi
|
||||||
# To update, run:
|
# To update, run:
|
||||||
|
|
@ -7,12 +7,10 @@
|
||||||
#
|
#
|
||||||
-r prod.txt
|
-r prod.txt
|
||||||
attrs==25.3.0
|
attrs==25.3.0
|
||||||
coverage==7.7.0
|
|
||||||
hypothesis==6.129.3
|
hypothesis==6.129.3
|
||||||
iniconfig==2.0.0
|
iniconfig==2.0.0
|
||||||
packaging==24.2
|
packaging==24.2
|
||||||
pluggy==1.5.0
|
pluggy==1.5.0
|
||||||
pytest==8.3.5
|
pytest==8.3.5
|
||||||
pytest-cov==6.0.0
|
|
||||||
pytest-django==4.10.0
|
pytest-django==4.10.0
|
||||||
sortedcontainers==2.4.0
|
sortedcontainers==2.4.0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue