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

Tests - Make tests mockable in actions #122

Open
vinicvaz opened this issue Oct 23, 2023 · 0 comments
Open

Tests - Make tests mockable in actions #122

vinicvaz opened this issue Oct 23, 2023 · 0 comments
Labels
pieces tests Create new or fix tests

Comments

@vinicvaz
Copy link
Collaborator

When running pytest in GitHub Actions, the piece_dry_run is executed in an external Docker environment that has no direct relation to the pytest code. While this approach offers the advantage of isolated environments and dependency management, it also has limitations when it comes to utilizing pytest mocks.

To strike a balance between these two needs, we need to find the best solution that combines the benefits of isolated environments with the ability to use pytest mocks effectively.

@vinicvaz vinicvaz added tests Create new or fix tests pieces labels Oct 23, 2023
@vinicvaz vinicvaz changed the title Feature - Make tests mockable in actions Tests - Make tests mockable in actions Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pieces tests Create new or fix tests
Projects
None yet
Development

No branches or pull requests

1 participant