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

Programming exercises: Add Ruff SCA for Python to LocalCI #9573

Draft
wants to merge 30 commits into
base: develop
Choose a base branch
from

Add lint selection in config file

70fbb8f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

Programming exercises: Add Ruff SCA for Python to LocalCI #9573

Add lint selection in config file
70fbb8f
Select commit
Loading
Failed to load commit list.
GitHub Actions / H2 Tests failed Dec 1, 2024 in 0s

8492 passed, 1 failed and 2 skipped

Tests failed
Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

Check failure on line 141 in src/main/java/de/tum/cit/aet/artemis/exam/service/ExamLiveEventsService.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.cit.aet.artemis.fileupload.FileUploadExerciseIntegrationTest ► updateFileUploadExerciseForExam_asInstructor()

Failed test found in:
  build/test-results/test/TEST-de.tum.cit.aet.artemis.fileupload.FileUploadExerciseIntegrationTest.xml
Error:
  Wanted but not invoked:
Raw output
Wanted but not invoked:
examLiveEventsService.createAndSendProblemStatementUpdateEvent(
    <any>,
    <any>,
    <any>
);
-> at de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService.createAndSendProblemStatementUpdateEvent(ExamLiveEventsService.java:141)
Actually, there were zero interactions with this mock.

	at app//de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService.createAndSendProblemStatementUpdateEvent(ExamLiveEventsService.java:141)
	at app//de.tum.cit.aet.artemis.fileupload.FileUploadExerciseIntegrationTest.updateFileUploadExerciseForExam_asInstructor(FileUploadExerciseIntegrationTest.java:424)
	at java.base@21.0.5/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base@21.0.5/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base@21.0.5/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base@21.0.5/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base@21.0.5/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base@21.0.5/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)