fix actions
All checks were successful
Gradle CI with Full Reports / build (push) Successful in 20m11s

This commit is contained in:
Jan-Philipp Luithardt
2025-12-18 09:41:02 +01:00
parent 7f96f50fb7
commit c5350b3da2
3 changed files with 75 additions and 79 deletions

View File

@@ -39,8 +39,11 @@ jobs:
# -----------------------
# 4. Build & Test mit Logging
# -----------------------
- name: Ensure build/logs exists
run: mkdir -p build/logs
- name: Build & Test with Jacoco
run: ./gradlew --daemon test jacocoTestReport --stacktrace --warning-mode all
run: ./gradlew --daemon test jacocoTestReport --stacktrace --warning-mode all | tee build/logs/build.log
# -----------------------
# 5. Build Error HTML aus Log erzeugen

85
.idea/workspace.xml generated
View File

@@ -5,83 +5,9 @@
</component>
<component name="ChangeListManager">
<list default="true" id="f4530d3f-84b2-422f-9e2a-4095d6e19e86" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.gradle/8.14/checksums/checksums.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.14/checksums/checksums.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/8.14/checksums/md5-checksums.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.14/checksums/md5-checksums.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/8.14/checksums/sha1-checksums.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.14/checksums/sha1-checksums.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/8.14/executionHistory/executionHistory.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.14/executionHistory/executionHistory.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/8.14/executionHistory/executionHistory.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.14/executionHistory/executionHistory.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/8.14/fileHashes/fileHashes.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.14/fileHashes/fileHashes.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/8.14/fileHashes/fileHashes.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.14/fileHashes/fileHashes.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/8.14/fileHashes/resourceHashesCache.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/8.14/fileHashes/resourceHashesCache.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/buildOutputCleanup/outputFiles.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/buildOutputCleanup/outputFiles.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gradle/file-system.probe" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/file-system.probe" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/dataSources.local.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/build.gradle" beforeDir="false" afterPath="$PROJECT_DIR$/build.gradle" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/Main.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/Main.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/Task.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/Task.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/TaskManager.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/TaskManager.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/TaskStatus.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/TaskStatus.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/expections/SQLNoConectionException.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/expections/SQLNoConectionException.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/expections/SQLStatmentException.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/expections/SQLStatmentException.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/expections/TaskAlreadyExistsException.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/expections/TaskAlreadyExistsException.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/expections/TaskHasNoWorkerException.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/expections/TaskHasNoWorkerException.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/expections/TaskNotExistsException.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/expections/TaskNotExistsException.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/provider/MySql.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/main/hhn/temp/project/provider/MySql.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/test/project/BadCaseTaskTest.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/test/project/BadCaseTaskTest.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/classes/java/test/project/GoodCaseTaskTest.class" beforeDir="false" afterPath="$PROJECT_DIR$/build/classes/java/test/project/GoodCaseTaskTest.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/customJacocoReportDir/test/jacocoTestReport.xml" beforeDir="false" afterPath="$PROJECT_DIR$/build/customJacocoReportDir/test/jacocoTestReport.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacoco/test.exec" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacoco/test.exec" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/SQLNoConectionException.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/SQLNoConectionException.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/SQLNoConectionException.java.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/SQLNoConectionException.java.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/SQLStatmentException.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/SQLStatmentException.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/SQLStatmentException.java.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/SQLStatmentException.java.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/TaskAlreadyExistsException.java.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/TaskAlreadyExistsException.java.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/TaskHasNoWorkerException.java.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/TaskHasNoWorkerException.java.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/TaskNotExistsException.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/TaskNotExistsException.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/TaskNotExistsException.java.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/TaskNotExistsException.java.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/index.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/index.source.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.expections/index.source.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.provider/MySql.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.provider/MySql.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.provider/MySql.java.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.provider/MySql.java.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.provider/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.provider/index.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.provider/index.source.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project.provider/index.source.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/Main.java.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/Main.java.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/Task.java.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/Task.java.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/TaskManager.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/TaskManager.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/TaskManager.java.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/TaskManager.java.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/TaskStatus.java.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/TaskStatus.java.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/index.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/index.source.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/hhn.temp.project/index.source.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/index.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/jacoco-resources/prettify.css" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/jacoco-resources/prettify.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/jacoco-resources/prettify.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/jacoco-resources/prettify.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/jacoco-resources/report.css" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/jacoco-resources/report.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/jacoco-resources/sort.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/jacoco-resources/sort.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/jacocoHtml/jacoco-sessions.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/jacocoHtml/jacoco-sessions.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/reports/problems/problems-report.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/reports/problems/problems-report.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/reports/tests/test/classes/project.BadCaseTaskTest.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/reports/tests/test/classes/project.BadCaseTaskTest.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/reports/tests/test/classes/project.GoodCaseTaskTest.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/reports/tests/test/classes/project.GoodCaseTaskTest.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/reports/tests/test/css/base-style.css" beforeDir="false" afterPath="$PROJECT_DIR$/build/reports/tests/test/css/base-style.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/reports/tests/test/css/style.css" beforeDir="false" afterPath="$PROJECT_DIR$/build/reports/tests/test/css/style.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/reports/tests/test/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/reports/tests/test/index.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/reports/tests/test/js/report.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/reports/tests/test/js/report.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/reports/tests/test/packages/project.html" beforeDir="false" afterPath="$PROJECT_DIR$/build/reports/tests/test/packages/project.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/test-results/test/TEST-project.BadCaseTaskTest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/build/test-results/test/TEST-project.BadCaseTaskTest.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/test-results/test/TEST-project.GoodCaseTaskTest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/build/test-results/test/TEST-project.GoodCaseTaskTest.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/tmp/compileJava/compileTransaction/stash-dir/MySql.class.uniqueId2" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/build/tmp/compileJava/compileTransaction/stash-dir/SQLNoConectionException.class.uniqueId3" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/build/tmp/compileJava/compileTransaction/stash-dir/Task.class.uniqueId1" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/build/tmp/compileJava/compileTransaction/stash-dir/TaskManager.class.uniqueId0" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/build/tmp/compileJava/previous-compilation-data.bin" beforeDir="false" afterPath="$PROJECT_DIR$/build/tmp/compileJava/previous-compilation-data.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/tmp/compileTestJava/compileTransaction/stash-dir/BadCaseTaskTest.class.uniqueId0" beforeDir="false" afterPath="$PROJECT_DIR$/build/tmp/compileTestJava/compileTransaction/stash-dir/BadCaseTaskTest.class.uniqueId0" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/tmp/compileTestJava/compileTransaction/stash-dir/GoodCaseTaskTest.class.uniqueId1" beforeDir="false" afterPath="$PROJECT_DIR$/build/tmp/compileTestJava/compileTransaction/stash-dir/GoodCaseTaskTest.class.uniqueId1" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/tmp/compileTestJava/previous-compilation-data.bin" beforeDir="false" afterPath="$PROJECT_DIR$/build/tmp/compileTestJava/previous-compilation-data.bin" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/hhn/temp/project/TaskManager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/hhn/temp/project/TaskManager.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/hhn/temp/project/provider/MySql.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/hhn/temp/project/provider/MySql.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/test/project/BadCaseTaskTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/test/project/BadCaseTaskTest.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/test/project/GoodCaseTaskTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/test/project/GoodCaseTaskTest.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/sql/localhost.sql" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gitea/workflows/gradle-ci.yml" beforeDir="false" afterPath="$PROJECT_DIR$/.gitea/workflows/gradle-ci.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -189,6 +115,9 @@
<key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$" />
</key>
<key name="MoveFile.RECENT_KEYS">
<recent name="C:\Users\Jan\HHN\GSE2TaskTracker\sql" />
</key>
<key name="CopyClassDialog.RECENTS_KEY">
<recent name="hhn.temp.project.expections" />
</key>
@@ -361,7 +290,7 @@
<workItem from="1765043338974" duration="7014000" />
<workItem from="1765107973967" duration="1170000" />
<workItem from="1765114753191" duration="1865000" />
<workItem from="1766041830166" duration="3685000" />
<workItem from="1766041830166" duration="5363000" />
</task>
<servers />
</component>

64
sql/localhost.sql Normal file
View File

@@ -0,0 +1,64 @@
-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Erstellungszeit: 18. Dez 2025 um 09:33
-- Server-Version: 10.11.11-MariaDB
-- PHP-Version: 8.2.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Datenbank: `hhn`
--
CREATE DATABASE IF NOT EXISTS `hhn` DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci;
USE `hhn`;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `task`
--
CREATE TABLE `task` (
`taskID` int(11) NOT NULL,
`taskName` varchar(255) NOT NULL,
`taskDescription` varchar(255) NOT NULL,
`taskStatus` enum('OPEN','CLOSED','INPROCESS','') NOT NULL DEFAULT 'OPEN',
`taskWorker` varchar(255) DEFAULT NULL,
`createdDate` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci;
--
-- Indizes der exportierten Tabellen
--
--
-- Indizes für die Tabelle `task`
--
ALTER TABLE `task`
ADD PRIMARY KEY (`taskID`);
--
-- AUTO_INCREMENT für exportierte Tabellen
--
--
-- AUTO_INCREMENT für Tabelle `task`
--
ALTER TABLE `task`
MODIFY `taskID` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;