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

fix: failing CI tests #396

Merged
merged 7 commits into from
Nov 25, 2024
Merged

fix: failing CI tests #396

merged 7 commits into from
Nov 25, 2024

Conversation

Anas12091101
Copy link
Contributor

What are the relevant tickets?

Closes https://github.com/mitodl/hq/issues/6086

Description (What does it do?)

CI was failing after the merge of overhangio/tutor@a666732. This PR removes python 3.8 from CI.
Note: edx-platform is also running tests only on python 3.11

Screenshots (if appropriate):

  • Desktop screenshots
  • Mobile width screenshots

How can this be tested?

Verify that all the checks are passing and all the tests are running

Additional Context

@Anas12091101
Copy link
Contributor Author

@feoh, sorry, It seems like there's some new error coming on CI when running the tests. I'll look into them and will re-label this PR ready for review after solving the issues

feoh
feoh previously approved these changes Nov 18, 2024
@feoh feoh dismissed their stale review November 18, 2024 15:56

Didn't see the note.

@Anas12091101 Anas12091101 changed the title chore: removed python 3.8 from CI fix: failing CI tests Nov 19, 2024
@feoh feoh self-requested a review November 19, 2024 14:25
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The CI was failing due to no test in recently added chat plugin. I added the conditions here to gracefully handle this case

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The edx-sysadmin tests were failing due to the removal of "import" management command from LMS in openedx/edx-platform#35851

Comment on lines +339 to +341
import_cmd = importlib.import_module(
"cms.djangoapps.contentstore.management.commands.import"
)
management.call_command(
"import",
import_cmd.Command(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can replace all this with?

management.call_command("import", 
app_label="cms"
...
)

@Anas12091101 Anas12091101 merged commit 4d2002b into main Nov 25, 2024
8 checks passed
@Anas12091101 Anas12091101 deleted the anas/fix-ci branch November 25, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants