-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use ci-test alias * Add more aliases * fix coverage * try renaming coverage file * allow pow tests to take longer * adjustment
- Loading branch information
Alexandcoats
authored
Sep 1, 2023
1 parent
a8b5390
commit f16a283
Showing
5 changed files
with
14 additions
and
13 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
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
push: | ||
branches: [develop, production] | ||
paths: | ||
- ".cargo/config.toml" | ||
- ".github/workflows/coverage.yml" | ||
- ".github/actions/**" | ||
- "coverage.sh" | ||
|
@@ -54,16 +55,7 @@ jobs: | |
uses: "./.github/actions/ledger-nano" | ||
|
||
- name: Collect coverage data | ||
run: > | ||
cargo llvm-cov nextest | ||
--lcov | ||
--output-path coverage.info | ||
--tests | ||
--package iota-sdk | ||
--all-features | ||
--run-ignored all | ||
--test-threads "num-cpus" | ||
--retries 2 | ||
run: cargo ci-coverage | ||
|
||
- name: Tear down private tangle | ||
if: always() | ||
|
@@ -73,5 +65,4 @@ jobs: | |
uses: coverallsapp/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: coverage.info | ||
flag-name: Unit |
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