dev/install #58

Merged
tom_trgr merged 6 commits from dev/install into dev/pdf 2025-11-30 21:25:48 +01:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit db14d6070a - Show all commits

View File

@@ -47,7 +47,7 @@ jobs:
restore-keys: |-
arbeitszeitmessung-
- name: Run Go Tests
run: cd Backend && mkdir .test && go test ./...
run: cd Backend && mkdir .test && go test ./... -coverprofile=.test/coverage.out -json > .test/report.json
- name: Verify coverage report exists
run: |
if [ -f "Backend/.test/coverage.out" ]; then

View File

@@ -31,7 +31,6 @@ func FormatDuration(d time.Duration) string {
// Converts duration to string
func FormatDurationFill(d time.Duration, fill bool) string {
return fmt.Sprintf("%.1f", d.Hours())
hours := int(d.Abs().Hours())
minutes := int(d.Abs().Minutes()) % 60
sign := ""