Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run unit tests in parallel #1772

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ development = [
"pre-commit>=3.5.0",
"pytest==8.3.3",
"pytest-randomly==3.15.0",
"pytest-xdist==3.6.1",
"syrupy==4.7.2",
"factory-boy==3.3.1",
"Faker==30.3.0",
Expand Down Expand Up @@ -93,7 +94,7 @@ features = ["development"]
[tool.hatch.envs.default.scripts]
test = ["pytest tests/"]
test-cov = [
"coverage run --source=snowflake.cli --module pytest tests/ ",
"coverage run --source=snowflake.cli --module pytest -n auto tests/ ",
"coverage run --source=snowflake.cli --module pytest -m loaded_modules tests/ ",
"coverage report",
]
Expand Down Expand Up @@ -130,12 +131,6 @@ test = ["pytest -m performance"]

[tool.hatch.envs.integration]
template = "integration"
pre-install-commands = [
# Disabled due to repo migration
# "pip install test_external_plugins/snowpark_hello_single_command",
# "pip install test_external_plugins/multilingual_hello_command_group",
"pip install pytest-xdist",
]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still expected change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's in the dev requirements now

features = ["development"]

[tool.hatch.envs.integration.scripts]
Expand Down
1 change: 1 addition & 0 deletions snyk/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ coverage==7.6.3
pre-commit>=3.5.0
pytest==8.3.3
pytest-randomly==3.15.0
pytest-xdist==3.6.1
syrupy==4.7.2
factory-boy==3.3.1
Faker==30.3.0
Loading