github.com/hyperledger/aries-framework-go@v0.3.2/scripts/check_unit_ursa.sh (about)

     1  #!/bin/bash
     2  #
     3  # Copyright Avast Software. All Rights Reserved.
     4  #
     5  # SPDX-License-Identifier: Apache-2.0
     6  #
     7  set -e
     8  
     9  echo "Running $0"
    10  
    11  go generate ./...
    12  
    13  # TODO Support collecting code coverage
    14  # TODO Create containers with libursa installed for local tests and development.
    15  # Current CI uses ghcr.io/hyperledger/ursa-wrapper-go/uwg-build.
    16  
    17   # Running aries-framework-go unit test with ursa
    18  PKGS=$(go list -tags ursa github.com/hyperledger/aries-framework-go/pkg/... 2> /dev/null | grep -v /mocks | grep -v /aries-js-worker)
    19  go test -tags ursa $PKGS -count=1 -race -timeout=10m