Skip to content

Commit

Permalink
Merge pull request #698 from tgonzalezorlandoarm/tg/fix-coverage-runs
Browse files Browse the repository at this point in the history
ci: Fix coverage builds, nightly issues
  • Loading branch information
ionut-arm authored Sep 11, 2023
2 parents ba8b9d0 + 4eede1d commit 34b45f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ if [ "$PROVIDER_NAME" = "coverage" ]; then
rustup toolchain install 1.66.0
PROVIDERS="trusted-service mbed-crypto tpm pkcs11"
EXCLUDES="fuzz/*,e2e_tests/*,src/providers/cryptoauthlib/*,src/authenticators/jwt_svid_authenticator/*"
UNIT_TEST_COMMON_FEATURES="unix-peer-credentials-authenticator,direct-authenticator"
UNIT_TEST_FEATURES="unix-peer-credentials-authenticator,direct-authenticator"
# Install tarpaulin
cargo +1.66.0 install cargo-tarpaulin

Expand All @@ -260,7 +260,7 @@ if [ "$PROVIDER_NAME" = "coverage" ]; then
# Set up run
PROVIDER_NAME=$provider
TEST_FEATURES="--features=$provider-provider"
UNIT_TEST_FEATURES="$UNIT_TEST_COMMON_FEATURES,$provider-provider"
UNIT_TEST_FEATURES="$UNIT_TEST_FEATURES,$provider-provider"
cp $(pwd)/e2e_tests/provider_cfg/$provider/config.toml $CONFIG_PATH
mkdir -p reports/$provider

Expand Down Expand Up @@ -292,6 +292,7 @@ if [ "$PROVIDER_NAME" = "coverage" ]; then
wait_for_service

run_key_mappings_tests
stop_service
done

# Run unit tests
Expand Down

0 comments on commit 34b45f3

Please sign in to comment.