Skip to content

Running gradlew test promps GPG key unlock #5069

@mpkorstanje

Description

@mpkorstanje

Running ./gradlew test requires unlocking GPG keys, this makes running tests annoying.

Steps to reproduce

  1. Create a a GPG key with a password
  2. Setup git to sign commits with that GPG key.
  3. Run ./gradlew test

Observe:

  1. A prompt to unlock the GPG key.
  2. OpenTestReportGeneratingListenerTests.includesGitInfoWhenEnabled failing if the prompt is rejected

Deliverables

  • Don't create signed commits when testing

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions