File tree Expand file tree Collapse file tree 2 files changed +8
-48
lines changed
Expand file tree Collapse file tree 2 files changed +8
-48
lines changed Original file line number Diff line number Diff line change 1414 - name : Install cargo-llvm-cov
1515 uses : taiki-e/install-action@cargo-llvm-cov
1616 - name : Generate code coverage
17- run : cargo llvm-cov --workspace --lcov --output-path lcov.info
17+ run : cargo llvm-cov --workspace --lcov --output-path lcov.info --all-features
1818 - name : Upload coverage to Codecov
1919 uses : codecov/codecov-action@v4
2020 env :
Original file line number Diff line number Diff line change @@ -2,36 +2,10 @@ on: [push, pull_request]
22
33name : Run tests
44
5- jobs :
6- check :
7- name : Check
8- strategy :
9- matrix :
10- rust :
11- - stable
12- - nightly
13- runs-on : ubuntu-latest
14- steps :
15- - name : Checkout sources
16- uses : actions/checkout@v2
17-
18- - name : Install stable toolchain
19- uses : actions-rs/toolchain@v1
20- with :
21- profile : minimal
22- toolchain : ${{ matrix.rust }}
23- override : true
24-
25- - name : Run cargo check nightly features
26- if : ${{ matrix.rust == 'nightly' }}
27- uses : actions-rs/cargo@v1
28- with :
29- command : check
30- - name : Run cargo check
31- uses : actions-rs/cargo@v1
32- with :
33- command : check
5+ env :
6+ CARGO_TERM_COLOR : always
347
8+ jobs :
359 test :
3610 name : Test Suite
3711 runs-on : ubuntu-latest
4216 - nightly
4317 steps :
4418 - name : Checkout sources
45- uses : actions/checkout@v2
46-
47- - name : Install stable toolchain
48- uses : actions-rs/toolchain@v1
49- with :
50- profile : minimal
51- toolchain : nightly
52- override : true
53-
54- - name : Run cargo test with nightly features
55- if : ${{ matrix.rust == 'nightly' }}
56- uses : actions-rs/cargo@v1
57- with :
58- command : test
59- - name : Run cargo test
60- uses : actions-rs/cargo@v1
61- with :
62- command : test
19+ uses : actions/checkout@v4
20+ - run : rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
21+ - run : cargo build --verbose --all-features
22+ - run : cargo test --verbose --all-features
You can’t perform that action at this time.
0 commit comments