Skip to content

Commit

Permalink
Suppress SHA1_RSA failures, these only occur in tests.
Browse files Browse the repository at this point in the history
We should fix this with new testdata but we're blocked on an
upstream change.

Signed-off-by: Dan Lorenc <dlorenc@chainguard.dev>
  • Loading branch information
dlorenc committed Aug 14, 2022
1 parent 1496b20 commit 641d445
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tests.yaml
Expand Up @@ -60,12 +60,18 @@ jobs:
go-version: ${{ env.GO_VERSION }}
check-latest: true
- name: Run Go tests
env:
# See #2091 for the issue describing this temp workaround.
GODEBUG: x509sha1=1
run: go test -covermode atomic -coverprofile coverage.txt $(go list ./... | grep -v third_party/)
- name: Upload Coverage Report
uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v2.1.0
with:
env_vars: OS
- name: Run Go tests w/ `-race`
env:
# See #2091 for the issue describing this temp workaround.
GODEBUG: x509sha1=1
if: ${{ runner.os == 'Linux' }}
run: go test -race $(go list ./... | grep -v third_party/)

Expand Down Expand Up @@ -103,6 +109,9 @@ jobs:
kind create cluster
- name: Run end-to-end tests
env:
# See #2091 for the issue describing this temp workaround.
GODEBUG: x509sha1=1
run: ./test/e2e_test.sh

- name: Collect diagnostics
Expand Down

0 comments on commit 641d445

Please sign in to comment.