mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-27 04:36:19 +08:00
enable sha1 for test
This commit is contained in:
parent
5d41aaa348
commit
236c37dab8
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -37,9 +37,13 @@ jobs:
|
||||
|
||||
- name: Test with Coverage
|
||||
run: go test -coverpkg=./... -v -short -coverprofile=coverage1.txt -covermode=atomic ./...
|
||||
env:
|
||||
GODEBUG: x509sha1=1
|
||||
|
||||
- name: Test Generic
|
||||
run: go test -coverpkg=./... -v -short -tags purego -coverprofile=coverage2.txt -covermode=atomic ./...
|
||||
env:
|
||||
GODEBUG: x509sha1=1
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
|
1
.github/workflows/test_qemu.yml
vendored
1
.github/workflows/test_qemu.yml
vendored
@ -47,4 +47,5 @@ jobs:
|
||||
env:
|
||||
DISABLE_SM3NI: 1
|
||||
DISABLE_SM4NI: 1
|
||||
GODEBUG: x509sha1=1
|
||||
GOARCH: ${{ matrix.arch }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user