forked from aptos-labs/aptos-core
-
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.
- Loading branch information
Showing
9 changed files
with
44 additions
and
0 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
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 |
---|---|---|
|
@@ -92,6 +92,8 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/rust-setup | ||
with: | ||
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }} | ||
- uses: pre-commit/[email protected] | ||
- run: cargo install cargo-sort | ||
- run: scripts/rust_lint.sh --check | ||
|
@@ -103,6 +105,8 @@ jobs: | |
with: | ||
fetch-depth: 0 # get all the history because cargo xtest --change-since origin/main requires it. | ||
- uses: ./.github/actions/rust-setup | ||
with: | ||
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }} | ||
- run: cargo test --locked --doc --workspace --exclude aptos-node-checker | ||
|
||
rust-unit-test: | ||
|
@@ -112,6 +116,8 @@ jobs: | |
with: | ||
fetch-depth: 0 # get all the history because cargo xtest --change-since origin/main requires it. | ||
- uses: ./.github/actions/rust-setup | ||
with: | ||
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }} | ||
- run: docker run --detach -p 5432:5432 cimg/postgres:14.2 | ||
- uses: taiki-e/[email protected] | ||
with: | ||
|
@@ -125,6 +131,8 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/rust-setup | ||
with: | ||
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }} | ||
- run: docker run --detach -p 5432:5432 cimg/postgres:14.2 | ||
- uses: taiki-e/[email protected] | ||
with: | ||
|
@@ -152,6 +160,8 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/rust-setup | ||
with: | ||
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }} | ||
- run: cargo test --locked --features check-vm-features -p aptos-node | ||
|
||
python-lint-test: | ||
|
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