diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml new file mode 100644 index 000000000..4c5103865 --- /dev/null +++ b/.github/workflows/coverage.yaml @@ -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 diff --git a/.github/workflows/pr_title.yaml b/.github/workflows/pr_title.yaml index 8a7ab3acb..2eb70390e 100644 --- a/.github/workflows/pr_title.yaml +++ b/.github/workflows/pr_title.yaml @@ -9,9 +9,6 @@ on: - reopened - synchronize -env: - CARGO_TERM_COLOR: always - jobs: title_check: runs-on: ubuntu-latest