-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
4,032 additions
and
1,268 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 |
---|---|---|
|
@@ -37,8 +37,12 @@ jobs: | |
- name: Build | ||
run: cargo build | ||
|
||
- name: Tests | ||
run: cargo test | ||
- name: Tests (except provider crate) | ||
run: cargo test --workspace --exclude provider | ||
|
||
- name: Tests (provider crate) | ||
# there should be a unique test thread for native provider tests (asserting spawned processes count) | ||
run: cargo test -p provider -- --test-threads 1 | ||
|
||
coverage: | ||
name: Zombienet SDK - coverage | ||
|
@@ -60,7 +64,8 @@ jobs: | |
uses: taiki-e/install-action@cargo-llvm-cov | ||
|
||
- name: Collect coverage data | ||
run: cargo llvm-cov nextest --lcov --output-path lcov.info | ||
# there should be a unique test thread for native provider tests (asserting spawned processes count) | ||
run: cargo llvm-cov nextest -j 1 --lcov --output-path lcov.info | ||
|
||
- name: Report code coverage | ||
uses: Nef10/[email protected] | ||
|
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 |
---|---|---|
|
@@ -35,13 +35,15 @@ jobs: | |
cargo doc --no-deps | ||
echo "<meta http-equiv=\"refresh\" content=\"0; url=configuration\">" > target/doc/index.html | ||
- name: Move docs | ||
run: | | ||
mkdir -p ./doc | ||
mv ./target/doc/* ./doc | ||
git config user.email "[email protected]" | ||
git config user.name "GitHub Action" | ||
git config user.password ${{ secrets.GH_PAGES_TOKEN }} | ||
git config user.password "${{ secrets.GH_PAGES_TOKEN }}" | ||
git checkout --orphan gh-pages | ||
mkdir to_delete | ||
shopt -s extglob | ||
|
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 |
---|---|---|
|
@@ -23,3 +23,6 @@ regex = "1.8" | |
lazy_static = "1.4" | ||
multiaddr = "0.18" | ||
url = "2.3" | ||
uuid = "1.4" | ||
nix = "0.27" | ||
procfs = "0.15" |
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.