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 14
14
- name : Install cargo-llvm-cov
15
15
uses : taiki-e/install-action@cargo-llvm-cov
16
16
- 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
18
18
- name : Upload coverage to Codecov
19
19
uses : codecov/codecov-action@v4
20
20
env :
Original file line number Diff line number Diff line change @@ -2,36 +2,10 @@ on: [push, pull_request]
2
2
3
3
name : Run tests
4
4
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
34
7
8
+ jobs :
35
9
test :
36
10
name : Test Suite
37
11
runs-on : ubuntu-latest
42
16
- nightly
43
17
steps :
44
18
- 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