+5
-14
Diff
round #1
+5
-14
.tangled/workflows/test.yml
+5
-14
.tangled/workflows/test.yml
···
6
6
7
7
dependencies:
8
8
nixpkgs:
9
+
- gcc
9
10
- cargo
10
-
- cargo-llvm-cov
11
11
- rustup
12
12
13
13
steps:
14
-
# `--doctests` flag for `cargo llvm-cov` requires nightly channel
15
-
# see: https://github.com/taiki-e/cargo-llvm-cov/issues/2
16
14
- name: Setup Rust
17
15
command: |
18
16
rustup set profile minimal
19
-
rustup toolchain install nightly
20
-
rustup override set nightly
21
-
rustup component add llvm-tools-preview
17
+
rustup toolchain install stable
18
+
rustup override set stable
22
19
- name: Print environment info
23
20
command: |
24
21
rustc --version --verbose
25
22
cargo --version
26
23
rustup --version
27
-
- name: Generate code coverage
28
-
command: |
29
-
cargo llvm-cov \
30
-
--all-features \
31
-
--workspace \
32
-
--lcov \
33
-
--output-path lcov.info \
34
-
--doctests \
24
+
- name: Run tests
25
+
command: cargo test
History
2 rounds
0 comments
samanthanguyen.me
submitted
#1
expand 0 comments
pull request successfully merged
samanthanguyen.me
submitted
#0
1 commit
expand
collapse
ci: simplify test CI workflow