Skip to content

Commit

Permalink
SNOW-1519635: skip dialect tests in snowflake tests (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mraba authored Jul 4, 2024
1 parent bde2372 commit 411ae55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ SQLACHEMY_WARN_20 = "1"
[tool.hatch.envs.default.scripts]
check = "pre-commit run --all-files"
test-dialect = "pytest -ra -vvv --tb=short --cov snowflake.sqlalchemy --cov-append --junitxml ./junit.xml --ignore=tests/sqlalchemy_test_suite tests/"
test-dialect-compatibility = "pytest -ra -vvv --tb=short --cov snowflake.sqlalchemy --cov-append --junitxml ./junit.xml tests/sqlalchemy_test_suite tests/"
test-dialect-compatibility = "pytest -ra -vvv --tb=short --cov snowflake.sqlalchemy --cov-append --junitxml ./junit.xml tests/sqlalchemy_test_suite"
gh-cache-sum = "python -VV | sha256sum | cut -d' ' -f1"
check-import = "python -c 'import snowflake.sqlalchemy; print(snowflake.sqlalchemy.__version__)'"

Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ commands = pytest \
{env:SNOWFLAKE_PYTEST_OPTS:} \
--cov "snowflake.sqlalchemy" \
--junitxml {toxworkdir}/junit_{envname}.xml \
--ignore=tests/sqlalchemy_test_suite \
{posargs:tests}
pytest {env:SNOWFLAKE_PYTEST_OPTS:} \
--cov "snowflake.sqlalchemy" --cov-append \
Expand Down Expand Up @@ -74,6 +75,7 @@ passenv =
PROGRAMDATA
deps =
{[testenv]deps}
tomlkit >= 1.12.0
pre-commit >= 2.9.0
skip_install = True
commands = pre-commit run --all-files
Expand Down

0 comments on commit 411ae55

Please sign in to comment.