forked from ktbyers/netmiko
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests.sh
More file actions
executable file
·21 lines (17 loc) · 756 Bytes
/
Copy pathtests.sh
File metadata and controls
executable file
·21 lines (17 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash
# Exit immediately if a command exits with a non-zero status
set -e
echo "Running ruff format check..."
uv run --frozen ruff format --check .
echo -e "\nRunning ruff linter..."
uv run --frozen ruff check .
echo -e "\nRunning mypy type checker..."
uv run --frozen mypy ./netmiko/
echo -e "\nRunning pytest..."
uv run --frozen pytest -v -s tests/test_import_netmiko.py
uv run --frozen pytest -v -s tests/unit/test_base_connection.py
uv run --frozen pytest -v -s tests/unit/test_utilities.py
uv run --frozen pytest -v -s tests/unit/test_ssh_autodetect.py
uv run --frozen pytest -v -s tests/unit/test_connection.py
uv run --frozen pytest -v -s tests/unit/test_entry_points.py
uv run --frozen pytest -v -s tests/unit/test_session_log.py