Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix coverage builds, nightly issues #698

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading