Skip to content

Commit ac03fcb

Browse files
committed
qa: test setups
1 parent fd139da commit ac03fcb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pixi.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ profile = "bundler exec jekyll build --profile"
1515
next = "python ./utils/newsletter.py"
1616
git = "python utils/git_parser.py"
1717
newsletter = { depends-on = ["git", "next"] }
18+
setup-hooks = "pre-commit install"
19+
test = "pytest tests/ -v"
20+
test-cov = "pytest tests/ -v --cov=utils --cov-report=term-missing"
21+
test-fast = "pytest tests/ -v -x"
1822

1923
[dependencies]
2024
python = ">=3.12.3,<3.13"
@@ -28,6 +32,9 @@ tqdm = ">=4.66.2,<4.67"
2832
requests = ">=2.31.0,<2.32"
2933
pre-commit = ">=3.1.1,<3.8"
3034
pydantic = ">=2.7.3,<2.8"
35+
pytest = ">=7.4.0,<8.0"
36+
pytest-cov = ">=4.1.0,<5.0"
37+
pytest-mock = ">=3.11.0,<4.0"
3138

3239
[feature.all-contrib.dependencies]
3340
nodejs = "*"

0 commit comments

Comments
 (0)