Skip to content

Commit

Permalink
[ci] Add codecov on main #15 (#16)
Browse files Browse the repository at this point in the history
* Update pr_title.yaml

* Create coverage.yaml

* Trigger CI
  • Loading branch information
michaelvlach authored Aug 17, 2022
1 parent d824a98 commit 9054d19
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: coverage

on:
push:
branches: ["main"]

jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/install-action@cargo-llvm-cov
- run: rustup component add llvm-tools-preview
- run: cargo llvm-cov --lcov --output-path lcov.info
- uses: codecov/codecov-action@v2
with:
files: lcov.info
3 changes: 0 additions & 3 deletions .github/workflows/pr_title.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ on:
- reopened
- synchronize

env:
CARGO_TERM_COLOR: always

jobs:
title_check:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9054d19

Please sign in to comment.