-
Notifications
You must be signed in to change notification settings - Fork 1
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
Refactor: update integration testing workflow and add pytest configuration #110
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
magajh
force-pushed
the
mjh/update-integration-tests-workflow
branch
from
October 14, 2024 20:45
68efd4e
to
720db4b
Compare
magajh
force-pushed
the
mjh/update-integration-tests-workflow
branch
from
October 15, 2024 02:05
52b39db
to
5f28dbb
Compare
magajh
changed the title
Refactor: Update workflow, script, and tests to use latest integration tests action
refactor: update integration testing workflow and add pytest configuration
Oct 16, 2024
magajh
changed the title
refactor: update integration testing workflow and add pytest configuration
Refactor: update integration testing workflow and add pytest configuration
Oct 16, 2024
BryanttV
reviewed
Oct 16, 2024
magajh
force-pushed
the
mjh/update-integration-tests-workflow
branch
from
October 16, 2024 19:03
d6bf641
to
a1ac0f3
Compare
BryanttV
approved these changes
Oct 16, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
luisfelipec95
approved these changes
Oct 16, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!!
@BryanttV @luisfelipec95: updated the django txt file passed to the |
BryanttV
approved these changes
Oct 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR includes some necessary changes to use the updated integration testing action https://github.com/eduNEXT/integration-test-in-tutor. The changes are described below:
pytest
andpytest-django
requirements to run the tests.pytest
for running unit tests, ensuring consistency in how tests are executed across all plugins.integration
folders.For more information about the changes and the reasoning behind them, please refer to the documentation on writing integration tests for the plugins: https://internal.docs.edunext.co/en/latest/internal/Teams/Descontrol/Internal_processes/integration_tests_in_plugins/integration_tests_with_openedx_components.html
Note for Reviewers
This PR does not move the unit test files to
unit/
folders. That effort will be part of a future PR when integration tests are added to the plugin.How to Test
Ensure that both unit and integration tests pass without issues in the GitHub CI/CD pipeline.