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

Add CI to the repository. #20

Merged
merged 13 commits into from
May 2, 2022
Merged

Add CI to the repository. #20

merged 13 commits into from
May 2, 2022

Conversation

peterhuene
Copy link
Member

@peterhuene peterhuene commented Apr 29, 2022

This PR adds tests and CI to the repository.

The tests are still a work-in-progress.

Closes #6.

This commit adds some initial tests for the various `cargo component`
subcommands.

So far only the `add`, `help`, and `version` subcommands have anything but the
very basic of tests.
@peterhuene
Copy link
Member Author

peterhuene commented Apr 29, 2022

I'll add a review request once more tests are added for the subcommands; I just wanted to check that the GitHub actions were defined correctly to start.

This commit adds simple tests for the `cargo component check` command.
This commit adds some basic tests for the `cargo component clippy` command.
This commit adds a test for the `cargo component metadata` command.
This commit adds tests for each supported subcommand to the help tests.
This commit adds some basic `cargo component new` tests.
This commit validates that the output of the `cargo component build` tests are
valid components.
This commit updates the install instructions in README so that the installation
is locked to `Cargo.lock` versions.
@peterhuene peterhuene merged commit b14b143 into main May 2, 2022
@peterhuene peterhuene deleted the add-ci branch May 2, 2022 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Task: implement CI.
2 participants