libp2p / libp2p/rust-libp2p

ci: test `misc/keygen`

Open
#4,370 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
5.6k
Forks
1.3k
Avg merge
8h 47m
Merged PRs (30d)
19

Description

Description

Given that keygen is set to publish = false it is excluded from most CI steps.

https://github.com/libp2p/rust-libp2p/blob/72472d075f1e4a63b4aaab79c36b3781daedc325/misc/keygen/Cargo.toml#L10

https://github.com/libp2p/rust-libp2p/blob/72472d075f1e4a63b4aaab79c36b3781daedc325/.github/workflows/ci.yml#L309-L321

Motivation

keygen is a useful tool worth testing in our CI.

Are you planning to do it yourself in a pull request?

No

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with misc/keygen/Cargo.toml at line 10 and .github/workflows/ci.yml at lines 309-321; inspect how non-published packages are selected by the CI workflow. Update the relevant CI coverage so misc/keygen is tested, then verify the affected workflow or equivalent local check includes keygen successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, rust
Domain
ci-cd, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.