Skip to content

Commit e748be3

Browse files
committed
Add code coverage badge to README.md
1 parent 6ef63e0 commit e748be3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
run: cargo doc --all-features
4343

4444
build-linux:
45+
name: Build on Linux
4546
needs:
4647
- lint
4748
runs-on: ubuntu-latest
@@ -60,6 +61,7 @@ jobs:
6061
run: cargo test --tests --verbose ${{ join(matrix.features, ' ') }}
6162

6263
codecov:
64+
name: Code Coverage
6365
needs:
6466
- lint
6567
runs-on: ubuntu-latest
@@ -76,6 +78,7 @@ jobs:
7678
run: cargo llvm-cov nextest --all-features --lcov --output-path lcov.info
7779

7880
build-others:
81+
name: Build on ${{ matrix-os }}
7982
needs:
8083
- build-linux
8184
- codecov

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# async-tempfile
22

3+
[![codecov](https://codecov.io/gh/sunsided/async-tempfile-rs/graph/badge.svg?token=LSY85I6M8Y)](https://codecov.io/gh/sunsided/async-tempfile-rs)
4+
35
Provides the `TempFile` struct, an asynchronous wrapper based on `tokio::fs`
46
for temporary files that will be automatically deleted when the last reference to
57
the struct is dropped.

0 commit comments

Comments
 (0)