refactor: update integration tests workflow and add pytest configuration - #66
Merged
Conversation
magajh
force-pushed
the
mjh/update-integration-tests-workflow
branch
3 times, most recently
from
October 15, 2024 22:23
a41d9cf to
cc81c48
Compare
magajh
marked this pull request as ready for review
October 16, 2024 09:44
BryanttV
reviewed
Oct 16, 2024
MaferMazu
reviewed
Oct 16, 2024
MaferMazu
left a comment
Contributor
There was a problem hiding this comment.
I left a few comments, but the rest looks good to me 🙌
BryanttV
reviewed
Oct 17, 2024
MaferMazu
approved these changes
Oct 17, 2024
magajh
force-pushed
the
mjh/update-integration-tests-workflow
branch
from
October 22, 2024 12:57
1eba902 to
0e0253a
Compare
This file contains hidden or 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
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:
pytestandpytest-djangorequirements to run the tests.pytestfor running unit tests, ensuring consistency in how tests are executed across all plugins.integrationfolders.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.