Skip to content

Commit ab2185a

Browse files
committed
Default to not run benchmarks.
1 parent 2554674 commit ab2185a

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

justfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ _default:
1111
fetch:
1212
curl https://raw.githubusercontent.com/adamghill/dotfiles/master/just/justfile > adamghill.justfile
1313

14+
# Run coverage on the code
15+
coverage *ARGS='':
16+
-uv run --all-extras pytest --cov=. --ignore=benchmarks {{ ARGS }}
17+
1418
serve:
1519
uv run python3 example/manage.py runserver 0:8789
1620

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ addopts = [
157157
"--failed-first",
158158
"-p no:warnings",
159159
"--no-migrations",
160+
"--ignore=benchmarks",
160161
]
161162
testpaths = [
162163
"tests"

0 commit comments

Comments
 (0)