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

Integration tests #3417

Open
wants to merge 117 commits into
base: main
Choose a base branch
from
Open

Integration tests #3417

wants to merge 117 commits into from

Conversation

ytausch
Copy link
Contributor

@ytausch ytausch commented Dec 16, 2024

Description:

This PR adds integration tests to the autotickbot, interacting with a real GitHub test environment. Closes #261 (more details there). This is a "minimal breakthrough" PR, only adding one test for version updates (using the pydantic-feedstock as an example).

Implementation is finished.

In this demo PR in my fork the integration tests actually run (needs token setup): ytausch#2

I've added a CODEOWNERS file to automatically request reviews from me if anything related to the tests change. On this occasion, I've also added a selection of other files where I am the main contributor. Hope you're fine with this!

@pavelzw

Checklist:

  • Pydantic model updated or no update needed
  • Add more documentation for the integration tests
  • setup tokens (see comment below) - note the checks in this PR fail without that

Cross-refs, links to issues, etc:

ytausch added 30 commits August 23, 2024 18:06
# Conflicts:
#	.github/workflows/tests.yml
#	autotick-bot/install_bot_code.sh
#	conda-lock.yml
#	conda_forge_tick/migration_runner.py
#	conda_forge_tick/provide_source_code.py
#	conda_forge_tick/rerender_feedstock.py
#	conda_forge_tick/solver_checks.py
#	conda_forge_tick/utils.py
#	environment.yml
#	tests/test_container_tasks.py
@ytausch ytausch marked this pull request as ready for review January 14, 2025 18:05
@ytausch ytausch requested a review from pavelzw January 14, 2025 18:05
@ytausch
Copy link
Contributor Author

ytausch commented Jan 14, 2025

The integration tests now run again (see the PR in my fork).

@beckermr, I'd appreciate it if we could prioritize this PR. It would help to establish more trust in future code changes, and it's potentially also very work-intensive to fix the tests again after a significant amount of code changes have been committed to main. The first step would be the proxy mode PR I've linked above.

@ytausch
Copy link
Contributor Author

ytausch commented Jan 27, 2025

Thanks for reviewing conda-forge/conda-forge-feedstock-ops#34!

I removed the temporary workaround for its functionality in a72eb37.

How should we proceed with setting up the token?

Copy link

@pavelzw pavelzw left a comment

Choose a reason for hiding this comment

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

great! apart from one comment this looks good to me :)

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.

true integration testing
2 participants