Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zombienet-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
zombienet-sdk
Commits
543ce152
Commit
543ce152
authored
1 year ago
by
muraca
Browse files
Options
Downloads
Patches
Plain Diff
added code coverage to action
Signed-off-by:
muraca
<
mmuraca247@gmail.com
>
parent
8454948f
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/ci.yml
+20
-4
20 additions, 4 deletions
.github/workflows/ci.yml
with
20 additions
and
4 deletions
.github/workflows/ci.yml
+
20
−
4
View file @
543ce152
...
...
@@ -6,7 +6,7 @@ on:
pull_request
:
branches
:
[
main
]
env
:
env
:
CARGO_TERM_COLOR
:
always
RUSTFLAGS
:
"
-Dwarnings"
...
...
@@ -21,7 +21,7 @@ jobs:
-
nightly
steps
:
-
uses
:
actions/checkout@v3
-
name
:
Init nigthly install for fmt
run
:
rustup update nightly && rustup default nightly && rustup component add rustfmt
...
...
@@ -30,7 +30,7 @@ jobs:
-
name
:
Init install
run
:
rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} && rustup component add clippy
-
name
:
Clippy
run
:
cargo clippy --all-targets --all-features
...
...
@@ -38,4 +38,20 @@ jobs:
run
:
cargo build
-
name
:
Tests
run
:
cargo test
\ No newline at end of file
run
:
cargo test
-
name
:
Install latest nextest release
uses
:
taiki-e/install-action@nextest
-
name
:
Install cargo-llvm-cov
uses
:
taiki-e/install-action@cargo-llvm-cov
-
name
:
Collect coverage data
run
:
cargo llvm-cov nextest --lcov --output-path lcov.info
-
name
:
Report code coverage
uses
:
Nef10/lcov-reporter-action@v0.4.0
with
:
lcov-file
:
lcov.info
pr-number
:
${{ env.pr_number }}
if
:
github.event_name == 'pull_request'
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment