ci: build and check all years
This commit is contained in:
parent
7730fdf0ea
commit
99f599e910
4
.github/workflows/rust.yaml
vendored
4
.github/workflows/rust.yaml
vendored
|
@ -17,8 +17,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: cargo clippy --verbose
|
run: cargo clippy --all
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose
|
run: cargo build --all
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: make check-all
|
run: make check-all
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -3,11 +3,11 @@ watch:
|
||||||
cargo watch -x clippy
|
cargo watch -x clippy
|
||||||
|
|
||||||
check:
|
check:
|
||||||
cargo test
|
cargo test --all
|
||||||
|
|
||||||
# run these in release mode because the reason they're ignored is usually that
|
# run these in release mode because the reason they're ignored is usually that
|
||||||
# they take a long time to run
|
# they take a long time to run
|
||||||
check-all: check
|
check-all: check
|
||||||
cargo test --release -- --ignored
|
cargo test --all --release -- --ignored
|
||||||
|
|
||||||
.PHONY: watch check check-all
|
.PHONY: watch check check-all
|
||||||
|
|
Loading…
Reference in a new issue