From d4dd4d65481da95e7e23363691021b8da905e021 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sun, 19 Jul 2020 17:39:47 +0200 Subject: [PATCH] Run cargo doc before cargo test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch fixes the builds by running cargo doc before cargo test. Without generated documentation, we don’t have anything to test. --- .builds/archlinux-msrv.yml | 1 + .builds/archlinux.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.builds/archlinux-msrv.yml b/.builds/archlinux-msrv.yml index 8916607..d6ea1f2 100644 --- a/.builds/archlinux-msrv.yml +++ b/.builds/archlinux-msrv.yml @@ -16,6 +16,7 @@ tasks: cargo build --release - test: | cd rusty-man + cargo doc cargo test triggers: - action: email diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml index d8eeaf0..5fdab7d 100644 --- a/.builds/archlinux.yml +++ b/.builds/archlinux.yml @@ -27,6 +27,7 @@ tasks: cargo build --release - test: | cd rusty-man + cargo doc cargo test - clippy: | cd rusty-man