Enhance Installer
Test / Run tests (push) Failing after 13s

This commit is contained in:
2026-08-05 16:31:32 +02:00
parent bf8533c857
commit 9c3cc8d4be
10 changed files with 134 additions and 45 deletions
+25
View File
@@ -0,0 +1,25 @@
name: Test
on:
push:
branches: ["**"]
paths: ["PamhagenSysCtrl/**", ".gitea/workflows/test.yaml"]
jobs:
test:
name: Run tests
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check for Byte order marks
shell: powershell
run: |
$pattern = [char]::ConvertFromUtf32(0xFEFF)
$files = git grep -IEl "^$pattern"
if ( $lastexitcode -ne 1 ) {
echo "Files with BOM found:"
echo $files
exit 1
} else {
echo "No files with BOM found"
exit 0
}