628377c83b
This patch refactors the test suite: - Instead of always generating the documentation with the available rustdoc version, we now store generated documentation for all supported rustdoc versions in the test/html directory. - Instead of using one snapshot per test case, we now use one snapshot per test case and rustdoc version.
24 lines
499 B
YAML
24 lines
499 B
YAML
# Copyright (C) 2020 Robin Krahl <robin.krahl@ireas.org>
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
image: archlinux
|
|
packages:
|
|
- rustup
|
|
sources:
|
|
- https://git.sr.ht/~ireas/rusty-man
|
|
tasks:
|
|
- setup: |
|
|
rustup set profile minimal
|
|
rustup default 1.40.0
|
|
- version: |
|
|
rustc -V
|
|
- build: |
|
|
cd rusty-man
|
|
cargo build --release
|
|
- test: |
|
|
cd rusty-man
|
|
RUSTY_MAN_GENERATE=1 cargo test
|
|
triggers:
|
|
- action: email
|
|
condition: failure
|
|
to: robin.krahl@ireas.org
|