workflow fix

This commit is contained in:
Damien Elmes 2020-01-19 15:02:08 +10:00
parent 766321d746
commit fbf0f94bcc

View File

@ -31,8 +31,10 @@ RUST_TOOLCHAIN := $(shell cat rust-toolchain)
rustup component add clippy-preview --toolchain $(RUST_TOOLCHAIN)
@touch $@
# set TZ here for the benefit of a single unit test that fails
# when running in the GitHub workflow.
.build/check: .build/rs-tools $(ALL_SOURCE)
cargo test --lib -- --nocapture
TZ="Australia/Perth" cargo test --lib -- --nocapture
cargo fmt -- --check
cargo clippy -- -D warnings
@touch $@