Add signature tests to doc/tests and actions

This commit is contained in:
satk0
2024-12-13 22:42:29 +01:00
parent daac1a59b5
commit 0b89baf98b
2 changed files with 9 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ jobs:
- "test-lease-all"
- "test-date-time-from-milliseconds"
- "test-cert-all"
- "test-signatures"
steps:
- name: Checkout repository
@@ -85,4 +86,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.test_target }}-logs
path: ./test-logs/${{ matrix.test_target }}.log # Adjust this path as needed
path: ./test-logs/${{ matrix.test_target }}.log # Adjust this path as needed

7
doc/tests/signatures.mk Normal file
View File

@@ -0,0 +1,7 @@
test-signatures:
$(GO) test -v ./lib/common/signature/ -run TestReadSignatureErrors
$(GO) test -v ./lib/common/signature/ -run TestReadSignature
$(GO) test -v ./lib/common/signature/ -run TestNewSignatureError
$(GO) test -v ./lib/common/signature/ -run TestNewSignature
.PHONY: test-signatures