-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into kafka-integration
- Loading branch information
Showing
15 changed files
with
291 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- "docs/**" | ||
- "helm/**" | ||
- "assets/**" | ||
- "**.md" | ||
push: | ||
branches: | ||
- main | ||
|
||
name: Lint, Test and Coverage Report | ||
jobs: | ||
coverage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: clippy | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
shared-key: ${{ runner.os }}-cargo | ||
|
||
- uses: taiki-e/install-action@v2 | ||
with: | ||
tool: cargo-hack, cargo-llvm-cov, nextest | ||
|
||
- name: Check with clippy | ||
run: cargo hack clippy --verbose --each-feature --no-dev-deps -- -D warnings | ||
|
||
- name: Check docs | ||
run: cargo hack doc --verbose --no-deps --each-feature --no-dev-deps | ||
|
||
- name: Doctests | ||
run: cargo hack --each-feature test --doc | ||
|
||
- name: Tests | ||
run: cargo hack --each-feature llvm-cov --no-report nextest | ||
|
||
- name: Genrate coverage report | ||
run: cargo llvm-cov report --lcov --output-path coverage.lcov | ||
|
||
- name: Upload Coverage Report | ||
uses: coverallsapp/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ./coverage.lcov | ||
parallel: true | ||
flag-name: run-${{ matrix.os }}-cargo | ||
|
||
- name: Finish Coverage Report | ||
uses: coverallsapp/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel-finished: true |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.