ok/jj
1
0
Fork 0
forked from mirrors/jj

github: build and test all targets

It seems that at least examples are not included in the default set of
targets, and we clearly want to check that the examples compile, as
that's an important reason we have them. We don't have any tests for
the examples yet, but let's add the flag now so we don't forget it
later.
This commit is contained in:
Martin von Zweigbergk 2023-01-18 20:54:33 -08:00 committed by Martin von Zweigbergk
parent 536ac87b11
commit ff3edb642f

View file

@ -36,9 +36,9 @@ jobs:
with:
toolchain: ${{ matrix.rust_version }}
- name: Build
run: cargo build --workspace --verbose
run: cargo build --workspace --all-targets --verbose
- name: Test
run: cargo test --workspace --verbose
run: cargo test --workspace --all-targets --verbose
env:
RUST_BACKTRACE: 1