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

remove invocation of integration tests in tox #498

Merged
merged 4 commits into from
Feb 10, 2023

Conversation

colin-rogers-dbt
Copy link
Contributor

@colin-rogers-dbt colin-rogers-dbt commented Jan 31, 2023

resolves #459

Description

A forthcoming change in dbt-core will break the ability for adapters to run legacy "integration" tests. This change disables having tox run them, once we have converted the last integration test we will delete the /tests/integration directory.

Checklist

@cla-bot cla-bot bot added the cla:yes label Jan 31, 2023
@github-actions
Copy link
Contributor

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-bigquery contributing guide.

@colin-rogers-dbt colin-rogers-dbt requested review from a team and Fleid January 31, 2023 00:48
Copy link
Contributor

@nssalian nssalian left a comment

Choose a reason for hiding this comment

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

Straightforward. Just a clarifying question on the functional test call.

# run specific bigquery integration tests
python -m pytest -m profile_bigquery tests/integration/simple_copy_test
# run specific bigquery functional tests
python -m pytest -m profile_bigquery tests/functional/adapter/test_aliases.py::TestSameTestSameAliasDifferentDatabasesBigQuery
Copy link
Contributor

Choose a reason for hiding this comment

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

question: What is the reason for doing the alias part?

@colin-rogers-dbt colin-rogers-dbt merged commit a7af39a into main Feb 10, 2023
@colin-rogers-dbt colin-rogers-dbt deleted the removeIntegTestCall branch February 10, 2023 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CT-1777] Convert remaining integration tests (dbt-bigquery)
3 participants