Skip to content

Commit a071aa7

Browse files
committed
crates_io_smoke_test: Add README.md
1 parent 59ef306 commit a071aa7

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# crates_io_smoke_test
2+
3+
This package contains a basic smoke test for the <https://staging.crates.io>
4+
environment. It uses the API to fetch the metadata of a test crate, publishes
5+
a new patch version, attempts to download the crate file, and checks that the
6+
git and sparse indexes contain the new version.
7+
8+
Note that a valid `CARGO_REGISTRY_TOKEN` environment variable is required to
9+
run the smoke test. This token must have the `publish` permission for the test
10+
crate. If `--skip-publish` is passed, the smoke test will not publish a new
11+
version of the test crate.

crates/crates_io_smoke_test/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![doc = include_str!("../README.md")]
2+
13
mod api;
24
mod cargo;
35
mod exit_status_ext;

0 commit comments

Comments
 (0)