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

Update testing structure for dbt Labs testing support - postgres #33

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

emmyoop
Copy link
Contributor

@emmyoop emmyoop commented Oct 11, 2024

Resolve #32

This PR make a slight update to the current testing layout to allow dbt Labs to start testing this package as part of our own
release process.

I have left your current tests in place while modifying them slightly. A large portion of this PR is just renaming existing vars and folders. The actual additional functionality is rather small.

Why Do We Need These Changes

As explained in #32, by setting up tox as a standard entry-point, the Core development team at dbt Labs can include this package's integration tests (along with other popular dbt packages) as part of our continuous development & delivery of dbt.

@emmyoop emmyoop had a problem deploying to Approve Integration Tests October 11, 2024 14:52 — with GitHub Actions Failure
@emmyoop emmyoop changed the title Update testing structure for dbt testing support Update testing structure for dbt Labs testing support Oct 11, 2024
@emmyoop emmyoop changed the title Update testing structure for dbt Labs testing support Update testing structure for dbt Labs testing support - postgres Oct 11, 2024
@NiallRees
Copy link
Member

Hey @emmyoop - I just appproved the tests, looks like they're failing from this change.

@emmyoop emmyoop requested a deployment to Approve Integration Tests November 13, 2024 00:32 — with GitHub Actions Waiting
@emmyoop emmyoop force-pushed the er/support-dbt-testing-format branch from 3602825 to 0846d99 Compare November 13, 2024 00:34
@emmyoop emmyoop requested a deployment to Approve Integration Tests November 13, 2024 00:34 — with GitHub Actions Waiting
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@NiallRees the CI is failing because I updated the testing folder to be located somewhere else. But the workflow itself is triggered off pull_request_target. That means the workflow code is running what exists on main - the version looking for profiles in integration_test_project even though the profiles file is now located in intgeration_tests.

We can do this iteratively where the testing folder is duplicated then another PR follows to remove the duplicated code?

Copy link
Member

Choose a reason for hiding this comment

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

I’ll merge this if you’re confident, then want to open another dummy change PR to validate? I think we might actually need to fix some tests ourselves too

@NiallRees NiallRees merged commit 9818fe6 into get-select:main Nov 13, 2024
1 check was waiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tox-based Integration Testing support for this package
2 participants