Skip to content

Commit 3c22d89

Browse files
committed
test(run.sh): update dependency installation and test commands
- Remove explicit installation of ruff, mypy, types-redis, types-PyYAML, types-Pygments - Add --group mypy to pip install command - Remove --cov-report=xml and --junitxml=junit.xml from pytest command
1 parent 736b912 commit 3c22d89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ run_test() {
3232
fi
3333

3434
log "Installing dependencies..."
35-
if ! "$TMPDIR/bin/pip" install --no-compile -e .[all] --group test ruff mypy types-redis types-PyYAML types-Pygments; then
35+
if ! "$TMPDIR/bin/pip" install --no-compile -e .[all] --group test --group mypy ruff ; then
3636
log "Error: Failed to install dependencies"
3737
return 1
3838
fi
@@ -50,7 +50,7 @@ run_test() {
5050
fi
5151

5252
log "Unit test:"
53-
if ! "$TMPDIR/bin/pytest" -x --cov --cov-report=xml --junitxml=junit.xml; then
53+
if ! "$TMPDIR/bin/pytest" -x --cov; then
5454
log "Error: Unit test failed"
5555
return 1
5656
fi

0 commit comments

Comments
 (0)