Skip to content

Commit c0295c5

Browse files
committed
simplify CI.yml (#16)
No need for crates.io checkout anymore
1 parent 0efccd4 commit c0295c5

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

Makefile

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,12 @@ help: ## Display this help
33

44

55
CARGO = $(shell command -v cargo)
6-
bare_index_path = tests/fixtures/index-bare
7-
8-
$(bare_index_path):
9-
mkdir -p $(dir $@)
10-
git clone --bare https://github.com/rust-lang/crates.io-index $@
11-
126

137
##@ Development
148

15-
test: $(bare_index_path) ## run all tests with cargo
16-
RUST_BACKTRACE=1 CRATES_INDEX_DIFF_TEST_EXISTING_INDEX=$(bare_index_path) cargo test --jobs 1
9+
test: ## run all tests with cargo
10+
RUST_BACKTRACE=1 cargo test --jobs 1
1711

18-
quick-test: $(bare_index_path) ## run all fast tests with cargo (those which dont clone themselves
19-
CRATES_INDEX_DIFF_TEST_EXISTING_INDEX=$(bare_index_path) cargo test --jobs 1 quick
12+
quick-test: ## run all fast tests with cargo (those which dont clone themselves
13+
cargo test --jobs 1 quick
2014

0 commit comments

Comments
 (0)