Add signature tests to doc/tests and actions
This commit is contained in:
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
@@ -47,6 +47,7 @@ jobs:
|
|||||||
- "test-lease-all"
|
- "test-lease-all"
|
||||||
- "test-date-time-from-milliseconds"
|
- "test-date-time-from-milliseconds"
|
||||||
- "test-cert-all"
|
- "test-cert-all"
|
||||||
|
- "test-signatures"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@@ -85,4 +86,4 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.test_target }}-logs
|
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
7
doc/tests/signatures.mk
Normal 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
|
Reference in New Issue
Block a user