-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CI and tests with
SEPOLIA_RPC_URL
getter function (#2004)
commit-id:99e99636 Apply review suggestions to tests (to rebase) Update release workflow Replacing placeholders in a different test function (to rebase) Remove env var from forks (to rebase) Update tests once again fix invalid ci Tests, CI updates --- **Stack**: - #2006 - #2004 ⬅⚠️ *Part of a stack created by [spr](https://github.com/ejoffe/spr). Do not merge manually using the UI - doing so may have unexpected results.*
- Loading branch information
1 parent
6c11c8f
commit 9c82de3
Showing
18 changed files
with
224 additions
and
177 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 |
---|---|---|
|
@@ -8,6 +8,9 @@ on: | |
- master | ||
workflow_dispatch: | ||
|
||
env: | ||
SEPOLIA_RPC_URL: ${{ secrets.NODE_URL }}:7070/rpc/v0_7 | ||
|
||
jobs: | ||
test-forge-unit-and-integration: | ||
name: Test Forge / Unit and Integration Tests | ||
|
@@ -20,7 +23,8 @@ jobs: | |
- uses: software-mansion/setup-universal-sierra-compiler@v1 | ||
- run: cargo test --release --lib -p forge | ||
- run: cargo test --release --bin snforge | ||
- run: cargo test --release integration -p forge | ||
- name: Run Forge unit and integration tests | ||
run: cargo test --release integration -p forge | ||
|
||
test-forge-e2e: | ||
name: Test Forge / E2E Tests | ||
|
@@ -57,7 +61,8 @@ jobs: | |
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 | ||
- uses: software-mansion/[email protected] | ||
- uses: software-mansion/setup-universal-sierra-compiler@v1 | ||
- run: cargo test --release e2e -p forge | ||
- name: Run Forge E2E tests | ||
run: cargo test --release e2e -p forge | ||
|
||
test-forge-runner: | ||
name: Test Forge Runner | ||
|
@@ -93,11 +98,8 @@ jobs: | |
run: ./scripts/install_devnet.sh | ||
- uses: software-mansion/[email protected] | ||
- uses: software-mansion/setup-universal-sierra-compiler@v1 | ||
- name: Run tests | ||
env: | ||
NODE_URL: ${{ secrets.NODE_URL }} | ||
run: | | ||
SEPOLIA_RPC_URL="${NODE_URL}:7070/rpc/v0_7" cargo test --release -p sncast | ||
- name: Run Cast tests | ||
run: cargo test --release -p sncast | ||
|
||
test-conversions: | ||
name: Test Conversions | ||
|
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.
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
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.