File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,31 +89,31 @@ jobs:
8989 - name : Install Rust stable toolchain
9090 uses : actions-rs/toolchain@v1
9191 with :
92- toolchain : stable
92+ toolchain : nightly
9393 profile : minimal
9494 override : true
95- components : rustfmt
9695
9796 - name : Rust cache
9897 uses : Swatinem/rust-cache@v2
9998
100- - name : Run cargo-tarpaulin
101- uses : actions-rs/tarpaulin@v0.1
102- with :
103- args : --workspace --all-features
99+ - name : Install cargo-llvm-cov
100+ uses : taiki-e/install-action@cargo-llvm-cov
101+
102+ - name : Run llvm-cov
103+ run : cargo llvm-cov --all-features --doctests --workspace --lcov --output-path lcov.info
104104 env :
105105 DATABASE_URL : postgres://eventually:password@localhost:5432/eventually?sslmode=disable
106106
107107 - name : Upload to codecov.io
108108 uses : codecov/codecov-action@v3
109109 with :
110- token : ${{secrets.CODECOV_TOKEN}}
110+ files : lcov.info
111111
112112 - name : Archive code coverage results
113113 uses : actions/upload-artifact@v3
114114 with :
115115 name : code-coverage-report
116- path : cobertura.xml
116+ path : lcov.info
117117
118118 formatting :
119119 name : Rustfmt Check
You can’t perform that action at this time.
0 commit comments