-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update description Signed-off-by: Sami Salonen <[email protected]> * Configurable behaviour for commands Signed-off-by: Sami Salonen <[email protected]> * Cleanup Signed-off-by: Sami Salonen <[email protected]> * Disable code coverage Signed-off-by: Sami Salonen <[email protected]> --------- Signed-off-by: Sami Salonen <[email protected]>
- Loading branch information
Showing
8 changed files
with
278 additions
and
104 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
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 |
---|---|---|
|
@@ -84,30 +84,31 @@ jobs: | |
command: clippy | ||
args: -- --target x86_64-unknown-linux-gnu -D warnings | ||
|
||
coverage: | ||
name: Code coverage | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Update apt | ||
run: sudo apt-get update | ||
- name: Install dependencies for build and coverage | ||
run: sudo apt-get install libudev-dev libcec6 libcec-dev pkg-config libp8-platform-dev | ||
- name: Install stable toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
profile: minimal | ||
override: true | ||
- name: Run cargo-tarpaulin | ||
uses: actions-rs/[email protected] | ||
with: | ||
args: "--ignore-tests --out Lcov" | ||
- name: Upload to Coveralls | ||
# upload only if push | ||
if: ${{ github.event_name == 'push' }} | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: "./lcov.info" | ||
# broken (and not useful) | ||
# coverage: | ||
# name: Code coverage | ||
# runs-on: ubuntu-22.04 | ||
# steps: | ||
# - name: Checkout repository | ||
# uses: actions/checkout@v2 | ||
# - name: Update apt | ||
# run: sudo apt-get update | ||
# - name: Install dependencies for build and coverage | ||
# run: sudo apt-get install libudev-dev libcec6 libcec-dev pkg-config libp8-platform-dev | ||
# - name: Install stable toolchain | ||
# uses: actions-rs/toolchain@v1 | ||
# with: | ||
# toolchain: stable | ||
# profile: minimal | ||
# override: true | ||
# - name: Run cargo-tarpaulin | ||
# uses: actions-rs/[email protected] | ||
# with: | ||
# args: "--ignore-tests --out Lcov" | ||
# - name: Upload to Coveralls | ||
# # upload only if push | ||
# if: ${{ github.event_name == 'push' }} | ||
# uses: coverallsapp/github-action@master | ||
# with: | ||
# github-token: ${{ secrets.GITHUB_TOKEN }} | ||
# path-to-lcov: "./lcov.info" |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.